From 108b4e57aa1682359195205e8b5679eae81445dd Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Tue, 6 Sep 2022 06:06:26 +0200 Subject: [PATCH 2/2] gnu: Add gnome-firmware. * gnu/packages/gnome.scm (gnome-firmware): New variable. diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 78e65d7400..f9c627b56a 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -123,6 +123,7 @@ (define-module (gnu packages gnome) #:use-module (gnu packages flex) #:use-module (gnu packages fonts) #:use-module (gnu packages file-systems) + #:use-module (gnu packages firmware) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) #:use-module (gnu packages game-development) @@ -2330,6 +2331,41 @@ (define-public gnome-disk-utility (description "Disk management utility for GNOME.") (license license:gpl2+))) +(define-public gnome-firmware + (package + (name "gnome-firmware") + (version "42.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.gnome.org/World/gnome-firmware") + (commit version))) + (sha256 + (base32 + "0p9fyqy3d5x6ap2ixw0wabmpdpzh7sdspaxl4f6qxx1sfnapci1g")))) + (build-system meson-build-system) + (arguments + (list #:glib-or-gtk? #t + #:configure-flags #~(list "-Dsystemd=false" "-Delogind=true"))) + (native-inputs (list desktop-file-utils + gettext-minimal + `(,glib "bin") + `(,gtk "bin") + help2man + pkg-config)) + (inputs (list gtk fwupd libadwaita libxmlb elogind)) + (synopsis "Update, reinstall and downgrade firmware on devices supported +by fwupd") + (description + "This package provides integration of firmware manager: + @itemize +@item Upgrade, Downgrade, & Reinstall firmware on devices supported by fwupd. +@item Unlock locked fwupd devices +@item Verify firmware on supported devices +@item Display all releases for a fwupd device +@end itemize") + (home-page "https://gitlab.gnome.org/World/gnome-firmware") + (license license:gpl2+))) + (define-public gnome-font-viewer (package (name "gnome-font-viewer") -- 2.38.1