2022-11-21 17:40:18 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, pkg-config
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, gettext
|
|
|
|
, gnome
|
|
|
|
, packagekit
|
|
|
|
, polkit
|
|
|
|
, gtk3
|
|
|
|
, systemd
|
|
|
|
, wrapGAppsHook
|
|
|
|
, desktop-file-utils
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-packagekit";
|
2022-11-21 17:40:18 +00:00
|
|
|
version = "43.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-11-21 17:40:18 +00:00
|
|
|
url = "mirror://gnome/sources/gnome-packagekit/${lib.versions.major version}/gnome-packagekit-${version}.tar.xz";
|
|
|
|
sha256 = "zaRVplKpI7LqL3Axa9D92Clve2Lu8/r9nOUMjmbF8ZU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2022-11-21 17:40:18 +00:00
|
|
|
pkg-config
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
gettext
|
|
|
|
wrapGAppsHook
|
|
|
|
desktop-file-utils
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2022-11-21 17:40:18 +00:00
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
packagekit
|
|
|
|
systemd
|
|
|
|
polkit
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
patchShebangs meson_post_install.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
passthru = {
|
2021-05-20 23:08:51 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2020-04-24 23:36:52 +00:00
|
|
|
packageName = "gnome-packagekit";
|
2021-05-20 23:08:51 +00:00
|
|
|
attrPath = "gnome.gnome-packagekit";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.freedesktop.org/software/PackageKit/";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
description = "Tools for installing software on the GNOME desktop using PackageKit";
|
|
|
|
};
|
|
|
|
}
|