2018-10-21 21:06:40 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, meson, ninja, gettext, gnome3, packagekit, polkit
|
2019-09-12 16:25:05 +02:00
|
|
|
, gtk3, systemd, wrapGAppsHook, desktop-file-utils }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "gnome-packagekit";
|
2019-03-08 20:54:23 +01:00
|
|
|
version = "3.32.0";
|
2018-02-25 21:07:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "mirror://gnome/sources/gnome-packagekit/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2019-03-08 20:54:23 +01:00
|
|
|
sha256 = "08rhsisdvx7pnx3rrg5v7c09jbw4grglkdj979gwl4a31j24zjsd";
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
|
|
|
|
2019-03-24 15:12:00 +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";
|
|
|
|
};
|
|
|
|
}
|