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