8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
37 lines
1.1 KiB
Nix
37 lines
1.1 KiB
Nix
{ stdenv, fetchurl, pkgconfig, meson, ninja, gettext, gnome3, packagekit, polkit
|
|
, gtk3, systemd, wrapGAppsHook, desktop-file-utils }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnome-packagekit";
|
|
version = "3.32.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/gnome-packagekit/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "08rhsisdvx7pnx3rrg5v7c09jbw4grglkdj979gwl4a31j24zjsd";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig meson ninja gettext wrapGAppsHook desktop-file-utils
|
|
];
|
|
|
|
buildInputs = [ gtk3 packagekit systemd polkit ];
|
|
|
|
postPatch = ''
|
|
patchShebangs meson_post_install.sh
|
|
'';
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = "gnome-packagekit";
|
|
attrPath = "gnome3.gnome-packagekit";
|
|
};
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
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";
|
|
};
|
|
}
|