nixpkgs/pkgs/by-name/gn/gnome-packagekit/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

60 lines
1.1 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, fetchurl
, pkg-config
, meson
, ninja
, gettext
, gnome
, packagekit
, polkit
, gtk3
, systemd
, wrapGAppsHook3
, desktop-file-utils
}:
stdenv.mkDerivation rec {
pname = "gnome-packagekit";
version = "43.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-packagekit/${lib.versions.major version}/gnome-packagekit-${version}.tar.xz";
hash = "sha256-zaRVplKpI7LqL3Axa9D92Clve2Lu8/r9nOUMjmbF8ZU=";
};
nativeBuildInputs = [
pkg-config
meson
ninja
gettext
wrapGAppsHook3
desktop-file-utils
];
buildInputs = [
gtk3
packagekit
systemd
polkit
];
2018-10-21 19:06:40 +00:00
postPatch = ''
patchShebangs meson_post_install.sh
'';
passthru = {
updateScript = gnome.updateScript {
2018-10-21 19:06:40 +00:00
packageName = "gnome-packagekit";
};
};
2017-10-04 21:50:14 +00:00
meta = with 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";
};
}