about summary refs log tree commit diff
path: root/pkgs/applications/audio/tuner
diff options
context:
space:
mode:
authorAshish SHUKLA <ashish.is@lostca.se>2022-12-18 14:50:15 +0530
committerAshish SHUKLA <ashish.is@lostca.se>2022-12-18 21:10:33 +0530
commit55c8cbb4c2a4104472a13c4c5870fc98de569737 (patch)
tree5e25e2693450f8ec518bb50826e1a760aabcc01f /pkgs/applications/audio/tuner
parent757b82211463dd5ba1475b6851d3731dfe14d377 (diff)
tuner: init at 1.5.1
Diffstat (limited to 'pkgs/applications/audio/tuner')
-rw-r--r--pkgs/applications/audio/tuner/default.nix68
1 files changed, 68 insertions, 0 deletions
diff --git a/pkgs/applications/audio/tuner/default.nix b/pkgs/applications/audio/tuner/default.nix
new file mode 100644
index 0000000000000..0f4db5af20a6e
--- /dev/null
+++ b/pkgs/applications/audio/tuner/default.nix
@@ -0,0 +1,68 @@
+{ stdenv
+, lib
+, fetchFromGitHub
+, pkg-config
+, meson
+, ninja
+, vala
+, glib
+, itstool
+, wrapGAppsHook
+, desktop-file-utils
+, libsoup
+, json-glib
+, geoclue2
+, geocode-glib
+, libgee
+, gtk3
+, pantheon
+, gst_all_1
+}:
+
+stdenv.mkDerivation rec {
+  pname = "tuner";
+  version = "1.5.1";
+
+  src = fetchFromGitHub {
+    owner = "louis77";
+    repo = pname;
+    rev = version;
+    sha256 = "sha256-tG1AMEqHcp4jHNgWDy9fS2FtlxFTlpMD5MVbepIY+GY=";
+  };
+
+  nativeBuildInputs = [
+    pkg-config
+    meson
+    ninja
+    vala
+    glib
+    itstool
+    wrapGAppsHook
+    desktop-file-utils
+  ];
+
+  buildInputs = [
+    libsoup
+    json-glib
+    geoclue2
+    geocode-glib
+    libgee
+    glib
+    gtk3
+    pantheon.granite
+    gst_all_1.gstreamer
+    gst_all_1.gst-plugins-base
+    gst_all_1.gst-plugins-bad
+    gst_all_1.gst-plugins-good
+    gst_all_1.gst-plugins-ugly
+  ];
+
+  meta = with lib; {
+    homepage = "https://github.com/louis77/tuner";
+    description = "An app to discover and play internet radio stations";
+    license = licenses.gpl3Plus;
+    platforms = platforms.linux;
+    mainProgram = "com.github.louis77.tuner";
+    maintainers = [ maintainers.abbe ];
+  };
+}