diff options
author | Danny Milosavljevic <dannym@friendly-machines.com> | 2025-02-20 20:33:25 +0100 |
---|---|---|
committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2025-02-20 21:07:24 +0100 |
commit | dbbd09fe50c4ee76d0e89961e7981d2182374572 (patch) | |
tree | 1a3121c3434783a179399f570e8f27e5604d6f79 | |
parent | e078654143a096fb790e3b1cef46b576a9abdc2d (diff) |
gnu: Add gnome-packagekit.
* gnu/packages/package-management.scm (gnome-packagekit): New variable.
Change-Id: I62e4bebaf4e15c223058d8b9e158adfc989f8266
-rw-r--r-- | gnu/packages/package-management.scm | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index de020d582c..8c629ba722 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -2396,3 +2396,42 @@ modify their environment during the session with modulefiles. Modules are used on high-performance clusters to dynamically add and remove paths to specific versions of applications.") (license license:gpl2+))) + +(define-public gnome-packagekit + (package + (name "gnome-packagekit") + (version "43.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.gnome.org/GNOME/gnome-packagekit.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1fnspk8wfh3v663qpqq3m1fgp21nskgisidihx41wgcsbzbvp1a5")))) + (build-system meson-build-system) + (arguments + (list #:configure-flags + #~(list "-Dsystemd=false") + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'start-xorg-server + (lambda _ + (system "Xvfb :1 &") + (setenv "DISPLAY" ":1"))) + (add-before 'install 'setenv + (lambda _ + ;; Prevent gtk-update-icon-cache, glib-compile-schemas, + ;; update-desktop-database + ;; (since we are doing it ourselves with a profile hook). + (setenv "DESTDIR" "/")))))) + (native-inputs + (list gnu-gettext pkg-config (list glib "bin") xorg-server-for-tests)) + (inputs + (list glib gtk+ packagekit polkit)) + (synopsis "GNOME frontend for PackageKit") + (description "This package provides a PackageKit frontend for GNOME. +PackageKit is a common unified interface for package managers.") + (home-page "https://gitlab.gnome.org/GNOME/gnome-packagekit") + (license license:gpl2+))) |