diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2021-05-07 23:18:14 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2021-05-08 09:47:42 +0200 |
commit | 468cb5980b56d348979488a74a9b5de638400160 (patch) | |
tree | 1426485105b897074e82af80efdd545462edb211 /pkgs/desktops/gnome/misc/gnome-packagekit | |
parent | d03a5eb09720fd6ad670df12d8eafbbfcd7ff494 (diff) |
gnome: rename from gnome3
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
Diffstat (limited to 'pkgs/desktops/gnome/misc/gnome-packagekit')
-rw-r--r-- | pkgs/desktops/gnome/misc/gnome-packagekit/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/desktops/gnome/misc/gnome-packagekit/default.nix b/pkgs/desktops/gnome/misc/gnome-packagekit/default.nix new file mode 100644 index 0000000000000..6e0aa78e6fdaf --- /dev/null +++ b/pkgs/desktops/gnome/misc/gnome-packagekit/default.nix @@ -0,0 +1,37 @@ +{ lib, stdenv, fetchurl, pkg-config, meson, ninja, gettext, gnome, 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/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; + sha256 = "08rhsisdvx7pnx3rrg5v7c09jbw4grglkdj979gwl4a31j24zjsd"; + }; + + nativeBuildInputs = [ + pkg-config meson ninja gettext wrapGAppsHook desktop-file-utils + ]; + + buildInputs = [ gtk3 packagekit systemd polkit ]; + + postPatch = '' + patchShebangs meson_post_install.sh + ''; + + passthru = { + updateScript = gnome.updateScript { + packageName = "gnome-packagekit"; + attrPath = "gnome.gnome-packagekit"; + }; + }; + + 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"; + }; +} |