2018-10-21 21:06:40 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, meson, ninja, gettext, gnome3, packagekit, polkit
|
2019-02-13 22:47:50 +01:00
|
|
|
, gtk3, systemd, wrapGAppsHook, desktop-file-utils }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 21:07:20 +01:00
|
|
|
name = "gnome-packagekit-${version}";
|
2018-09-05 02:47:27 +02:00
|
|
|
version = "3.30.0";
|
2018-02-25 21:07:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 02:12:11 +02:00
|
|
|
url = "mirror://gnome/sources/gnome-packagekit/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2018-09-05 02:47:27 +02:00
|
|
|
sha256 = "1i1hf6833psnq174xm0gjlz5rbrkl8i512y47w7nk8mrrrc31b35";
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
|
|
|
|
2018-02-25 03:23:58 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig meson ninja gettext wrapGAppsHook desktop-file-utils ];
|
2019-02-13 22:47:50 +01:00
|
|
|
buildInputs = [ gtk3 packagekit systemd polkit ];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-10-21 21:06:40 +02:00
|
|
|
postPatch = ''
|
|
|
|
patchShebangs meson_post_install.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "gnome-packagekit";
|
|
|
|
attrPath = "gnome3.gnome-packagekit";
|
|
|
|
};
|
|
|
|
};
|
2017-10-04 23:50:14 +02:00
|
|
|
|
2016-09-18 21:35:23 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://www.freedesktop.org/software/PackageKit/;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
description = "Tools for installing software on the GNOME desktop using PackageKit";
|
|
|
|
};
|
|
|
|
}
|