2016-07-21 18:06:27 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig
|
|
|
|
, python3
|
|
|
|
, perl
|
|
|
|
, perlPackages
|
|
|
|
, gtk3
|
|
|
|
, intltool
|
2019-03-23 04:50:12 +00:00
|
|
|
, libpeas
|
2016-07-21 18:06:27 +01:00
|
|
|
, libsoup
|
|
|
|
, gnome3
|
2018-12-25 22:27:49 +00:00
|
|
|
, totem-pl-parser
|
2016-07-21 18:06:27 +01:00
|
|
|
, tdb
|
2018-02-25 02:23:58 +00:00
|
|
|
, json-glib
|
2016-07-21 18:06:27 +01:00
|
|
|
, itstool
|
|
|
|
, wrapGAppsHook
|
|
|
|
, gst_all_1
|
|
|
|
, gst_plugins ? with gst_all_1; [ gst-plugins-good gst-plugins-ugly ]
|
|
|
|
}:
|
|
|
|
let
|
2018-03-03 00:24:47 +00:00
|
|
|
pname = "rhythmbox";
|
2019-03-03 18:34:31 +00:00
|
|
|
version = "3.4.3";
|
2016-07-21 18:06:27 +01:00
|
|
|
in stdenv.mkDerivation rec {
|
2018-03-03 00:24:47 +00:00
|
|
|
name = "${pname}-${version}";
|
2016-07-21 18:06:27 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 01:12:11 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2019-03-03 18:34:31 +00:00
|
|
|
sha256 = "1yx3n7p9vmv23jsv98fxwq95n78awdxqm8idhyhxx2d6vk4w1hgx";
|
2016-07-21 18:06:27 +01:00
|
|
|
};
|
|
|
|
|
2018-03-03 00:24:47 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
intltool perl perlPackages.XMLParser
|
|
|
|
itstool
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
2016-07-21 18:06:27 +01:00
|
|
|
buildInputs = [
|
|
|
|
python3
|
|
|
|
libsoup
|
|
|
|
tdb
|
2018-02-25 02:23:58 +00:00
|
|
|
json-glib
|
2016-07-21 18:06:27 +01:00
|
|
|
|
|
|
|
gtk3
|
2019-03-23 04:50:12 +00:00
|
|
|
libpeas
|
2018-12-25 22:27:49 +00:00
|
|
|
totem-pl-parser
|
2019-02-13 21:47:50 +00:00
|
|
|
gnome3.adwaita-icon-theme
|
2016-07-21 18:06:27 +01:00
|
|
|
|
|
|
|
gst_all_1.gstreamer
|
|
|
|
gst_all_1.gst-plugins-base
|
|
|
|
] ++ gst_plugins;
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2018-03-03 00:24:47 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
versionPolicy = "none";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-07-21 18:06:27 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|