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 ]
|
, gst_plugins ? with gst_all_1; [ gst-plugins-good gst-plugins-ugly ]
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
version = "${major}.${minor}";
|
pname = "rhythmbox";
|
||||||
major = "3.2";
|
version = "3.2.1";
|
||||||
minor = "1";
|
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "rhythmbox-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/rhythmbox/${major}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||||
sha256 = "0f3radhlji7rxl760yl2vm49fvfslympxrpm8497acbmbd7wlhxz";
|
sha256 = "0f3radhlji7rxl760yl2vm49fvfslympxrpm8497acbmbd7wlhxz";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [
|
||||||
|
pkgconfig
|
||||||
|
intltool perl perlPackages.XMLParser
|
||||||
|
itstool
|
||||||
|
wrapGAppsHook
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
python3
|
python3
|
||||||
perl
|
|
||||||
perlPackages.XMLParser
|
|
||||||
|
|
||||||
intltool
|
|
||||||
libsoup
|
libsoup
|
||||||
tdb
|
tdb
|
||||||
json-glib
|
json-glib
|
||||||
itstool
|
|
||||||
|
|
||||||
gtk3
|
gtk3
|
||||||
gnome3.libpeas
|
gnome3.libpeas
|
||||||
@ -45,12 +44,17 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
gst_all_1.gstreamer
|
gst_all_1.gstreamer
|
||||||
gst_all_1.gst-plugins-base
|
gst_all_1.gst-plugins-base
|
||||||
|
|
||||||
wrapGAppsHook
|
|
||||||
] ++ gst_plugins;
|
] ++ gst_plugins;
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
versionPolicy = "none";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://wiki.gnome.org/Apps/Rhythmbox;
|
homepage = https://wiki.gnome.org/Apps/Rhythmbox;
|
||||||
description = "A music playing application for GNOME";
|
description = "A music playing application for GNOME";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user