nixpkgs/pkgs/applications/audio/rhythmbox/default.nix

66 lines
1.2 KiB
Nix
Raw Normal View History

2016-07-21 17:06:27 +00:00
{ stdenv, fetchurl, pkgconfig
, python3
, perl
, perlPackages
, gtk3
, intltool
, libsoup
, gnome3
, tdb
, json-glib
2016-07-21 17:06:27 +00: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";
2018-03-03 00:27:47 +00:00
version = "3.4.2";
2016-07-21 17:06:27 +00:00
in stdenv.mkDerivation rec {
2018-03-03 00:24:47 +00:00
name = "${pname}-${version}";
2016-07-21 17:06:27 +00:00
src = fetchurl {
2018-03-03 00:24:47 +00:00
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
2018-03-03 00:27:47 +00:00
sha256 = "0hzcns8gf5yb0rm4ss8jd8qzarcaplp5cylk6plwilsqfvxj4xn2";
2016-07-21 17:06:27 +00:00
};
2018-03-03 00:24:47 +00:00
nativeBuildInputs = [
pkgconfig
intltool perl perlPackages.XMLParser
itstool
wrapGAppsHook
];
2016-07-21 17:06:27 +00:00
buildInputs = [
python3
libsoup
tdb
json-glib
2016-07-21 17:06:27 +00:00
gtk3
gnome3.libpeas
gnome3.totem-pl-parser
gnome3.defaultIconTheme
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 17:06:27 +00: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 ];
};
}