about summary refs log tree commit diff
path: root/pkgs/applications/audio/goodvibes
diff options
context:
space:
mode:
authorzendo <linzway@qq.com>2022-10-27 18:38:46 +0800
committerzendo <linzway@qq.com>2022-10-27 19:43:04 +0800
commit9982f34c8932b6b38beee3634506efcb913ce25d (patch)
tree8b33a1d3f22a2f258ab60741602c9ba17d5a1188 /pkgs/applications/audio/goodvibes
parentf8fae712caceaecf2d59b2e909ffb6018d27ea7a (diff)
goodvibes: init at 0.7.5
Diffstat (limited to 'pkgs/applications/audio/goodvibes')
-rw-r--r--pkgs/applications/audio/goodvibes/default.nix61
1 files changed, 61 insertions, 0 deletions
diff --git a/pkgs/applications/audio/goodvibes/default.nix b/pkgs/applications/audio/goodvibes/default.nix
new file mode 100644
index 0000000000000..1f09d99c88893
--- /dev/null
+++ b/pkgs/applications/audio/goodvibes/default.nix
@@ -0,0 +1,61 @@
+{ lib
+, stdenv
+, fetchFromGitLab
+, meson
+, ninja
+, pkg-config
+, glib
+, gtk3
+, libsoup
+, keybinder3
+, gst_all_1
+, wrapGAppsHook
+, appstream-glib
+, desktop-file-utils
+}:
+
+stdenv.mkDerivation rec {
+  pname = "goodvibes";
+  version = "0.7.5";
+
+  src = fetchFromGitLab {
+    owner = pname;
+    repo = pname;
+    rev = "v${version}";
+    hash = "sha256-CE9f0GnXr7wSpp8jyW0ZxGKx16r6tOaObzQXKcy5nPY=";
+  };
+
+  nativeBuildInputs = [
+    meson
+    ninja
+    pkg-config
+    wrapGAppsHook
+    appstream-glib
+    desktop-file-utils
+  ];
+
+  buildInputs = [
+    glib
+    gtk3
+    libsoup
+    keybinder3
+  ] ++ (with gst_all_1; [
+    gstreamer
+    gst-plugins-base
+    gst-plugins-good
+    gst-plugins-bad
+    gst-plugins-ugly
+  ]);
+
+  postPatch = ''
+    patchShebangs scripts
+  '';
+
+  meta = with lib; {
+    description = "A lightweight internet radio player";
+    homepage = "https://gitlab.com/goodvibes/goodvibes";
+    license = licenses.gpl3Plus;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ zendo ];
+  };
+}