@@ -0,0 +1,62 @@
1+{ stdenv, fetchurl, pkgconfig
2+, python3
3+, perl
4+, perlPackages
5+, gtk3
6+, intltool
7+, libsoup
8+, gnome3
9+, tdb
10+, json_glib
11+, itstool
12+, wrapGAppsHook
13+, gst_all_1
14+, gst_plugins ? with gst_all_1; [ gst-plugins-good gst-plugins-ugly ]
15+}:
16+let
17+ version = "${major}.${minor}";
18+ major = "3.2";
19+ minor = "1";
20+
21+in stdenv.mkDerivation rec {
22+ name = "rhythmbox-${version}";
23+
24+ src = fetchurl {
25+ url = "mirror://gnome/sources/rhythmbox/${major}/${name}.tar.xz";
26+ sha256 = "0f3radhlji7rxl760yl2vm49fvfslympxrpm8497acbmbd7wlhxz";
27+ };
28+
29+ buildInputs = [
30+ pkgconfig
31+
32+ python3
33+ perl
34+ perlPackages.XMLParser
35+
36+ intltool
37+ libsoup
38+ tdb
39+ json_glib
40+ itstool
41+
42+ gtk3
43+ gnome3.libpeas
44+ gnome3.totem-pl-parser
45+ gnome3.defaultIconTheme
46+
47+ gst_all_1.gstreamer
48+ gst_all_1.gst-plugins-base
49+
50+ wrapGAppsHook
51+ ] ++ gst_plugins;
52+
53+ enableParallelBuilding = true;
54+
55+ meta = with stdenv.lib; {
56+ homepage = https://wiki.gnome.org/Apps/Rhythmbox;
57+ description = "A music playing application for GNOME";
58+ license = licenses.gpl2;
59+ platforms = platforms.linux;
60+ maintainers = [ maintainers.rasendubi ];
61+ };
62+}