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

68 lines
1.3 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config
2016-07-21 19:06:27 +02:00
, python3
, perl
, perlPackages
, gtk3
, intltool
2019-03-23 05:50:12 +01:00
, libpeas
2016-07-21 19:06:27 +02:00
, libsoup
, gnome3
, totem-pl-parser
2016-07-21 19:06:27 +02:00
, tdb
, json-glib
2016-07-21 19:06:27 +02:00
, itstool
, wrapGAppsHook
, gst_all_1
, gst_plugins ? with gst_all_1; [ gst-plugins-good gst-plugins-ugly ]
}:
let
2018-03-03 01:24:47 +01:00
pname = "rhythmbox";
2020-01-30 09:39:02 +01:00
version = "3.4.4";
2016-07-21 19:06:27 +02:00
in stdenv.mkDerivation rec {
2018-03-03 01:24:47 +01:00
name = "${pname}-${version}";
2016-07-21 19:06:27 +02:00
src = fetchurl {
2021-01-15 14:21:58 +01:00
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
2020-01-30 09:39:02 +01:00
sha256 = "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf";
2016-07-21 19:06:27 +02:00
};
2018-03-03 01:24:47 +01:00
nativeBuildInputs = [
pkg-config
2018-03-03 01:24:47 +01:00
intltool perl perlPackages.XMLParser
itstool
wrapGAppsHook
];
2016-07-21 19:06:27 +02:00
buildInputs = [
python3
libsoup
tdb
json-glib
2016-07-21 19:06:27 +02:00
gtk3
2019-03-23 05:50:12 +01:00
libpeas
totem-pl-parser
2019-02-13 22:47:50 +01:00
gnome3.adwaita-icon-theme
2016-07-21 19:06:27 +02:00
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
] ++ gst_plugins;
enableParallelBuilding = true;
2018-03-03 01:24:47 +01:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
versionPolicy = "none";
};
};
meta = with lib; {
homepage = "https://wiki.gnome.org/Apps/Rhythmbox";
2016-07-21 19:06:27 +02:00
description = "A music playing application for GNOME";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.rasendubi ];
};
}