1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
{ 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";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
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 ];
};
}
|