mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
68 lines
1.3 KiB
Nix
68 lines
1.3 KiB
Nix
{ stdenv, fetchurl, pkgconfig
|
|
, python3
|
|
, perl
|
|
, perlPackages
|
|
, gtk3
|
|
, intltool
|
|
, libpeas
|
|
, libsoup
|
|
, gnome3
|
|
, totem-pl-parser
|
|
, tdb
|
|
, json-glib
|
|
, itstool
|
|
, wrapGAppsHook
|
|
, gst_all_1
|
|
, gst_plugins ? with gst_all_1; [ gst-plugins-good gst-plugins-ugly ]
|
|
}:
|
|
let
|
|
pname = "rhythmbox";
|
|
version = "3.4.3";
|
|
in stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
|
sha256 = "1yx3n7p9vmv23jsv98fxwq95n78awdxqm8idhyhxx2d6vk4w1hgx";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
intltool perl perlPackages.XMLParser
|
|
itstool
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
python3
|
|
libsoup
|
|
tdb
|
|
json-glib
|
|
|
|
gtk3
|
|
libpeas
|
|
totem-pl-parser
|
|
gnome3.adwaita-icon-theme
|
|
|
|
gst_all_1.gstreamer
|
|
gst_all_1.gst-plugins-base
|
|
] ++ gst_plugins;
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = pname;
|
|
versionPolicy = "none";
|
|
};
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|