about summary refs log tree commit diff
path: root/pkgs/applications/audio
diff options
context:
space:
mode:
authorPascal Wittmann <PascalWittmann@gmx.net>2016-07-28 08:56:07 +0200
committerGitHub <noreply@github.com>2016-07-28 08:56:07 +0200
commitcf114708fe9a3a251cd960cd949b5d36f9e646bb (patch)
tree07b1395aec7dc291cdb03fbf7a411a2023db42c2 /pkgs/applications/audio
parent65ef5d8f5b7d38aeae541df2933948cbb9ea6a5e (diff)
parentc9c311862094822d13ec22d605c9a172abc8b7de (diff)
Merge pull request #17153 from rasendubi/rhythmbox
rhythmbox: init at 3.2.1
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r--pkgs/applications/audio/rhythmbox/default.nix62
1 files changed, 62 insertions, 0 deletions
diff --git a/pkgs/applications/audio/rhythmbox/default.nix b/pkgs/applications/audio/rhythmbox/default.nix
new file mode 100644
index 0000000000000..e8bea3ec71c05
--- /dev/null
+++ b/pkgs/applications/audio/rhythmbox/default.nix
@@ -0,0 +1,62 @@
+{ stdenv, fetchurl, pkgconfig
+, python3
+, perl
+, perlPackages
+, gtk3
+, intltool
+, libsoup
+, gnome3
+, tdb
+, json_glib
+, itstool
+, wrapGAppsHook
+, gst_all_1
+, gst_plugins ? with gst_all_1; [ gst-plugins-good gst-plugins-ugly ]
+}:
+let
+  version = "${major}.${minor}";
+  major = "3.2";
+  minor = "1";
+
+in stdenv.mkDerivation rec {
+  name = "rhythmbox-${version}";
+
+  src = fetchurl {
+    url = "mirror://gnome/sources/rhythmbox/${major}/${name}.tar.xz";
+    sha256 = "0f3radhlji7rxl760yl2vm49fvfslympxrpm8497acbmbd7wlhxz";
+  };
+
+  buildInputs = [
+    pkgconfig
+
+    python3
+    perl
+    perlPackages.XMLParser
+
+    intltool
+    libsoup
+    tdb
+    json_glib
+    itstool
+
+    gtk3
+    gnome3.libpeas
+    gnome3.totem-pl-parser
+    gnome3.defaultIconTheme
+
+    gst_all_1.gstreamer
+    gst_all_1.gst-plugins-base
+
+    wrapGAppsHook
+  ] ++ gst_plugins;
+
+  enableParallelBuilding = true;
+
+  meta = with stdenv.lib; {
+    homepage = https://wiki.gnome.org/Apps/Rhythmbox;
+    description = "A music playing application for GNOME";
+    license = licenses.gpl2;
+    platforms = platforms.linux;
+    maintainers = [ maintainers.rasendubi ];
+  };
+}