mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
rhythmbox: add updateScript
This commit is contained in:
parent
a081e8efe6
commit
1d09719361
@ -14,29 +14,28 @@
|
||||
, gst_plugins ? with gst_all_1; [ gst-plugins-good gst-plugins-ugly ]
|
||||
}:
|
||||
let
|
||||
version = "${major}.${minor}";
|
||||
major = "3.2";
|
||||
minor = "1";
|
||||
|
||||
pname = "rhythmbox";
|
||||
version = "3.2.1";
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "rhythmbox-${version}";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/rhythmbox/${major}/${name}.tar.xz";
|
||||
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||
sha256 = "0f3radhlji7rxl760yl2vm49fvfslympxrpm8497acbmbd7wlhxz";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
nativeBuildInputs = [
|
||||
pkgconfig
|
||||
intltool perl perlPackages.XMLParser
|
||||
itstool
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
python3
|
||||
perl
|
||||
perlPackages.XMLParser
|
||||
|
||||
intltool
|
||||
libsoup
|
||||
tdb
|
||||
json-glib
|
||||
itstool
|
||||
|
||||
gtk3
|
||||
gnome3.libpeas
|
||||
@ -45,12 +44,17 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
gst_all_1.gstreamer
|
||||
gst_all_1.gst-plugins-base
|
||||
|
||||
wrapGAppsHook
|
||||
] ++ 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";
|
||||
|
Loading…
Reference in New Issue
Block a user