summaryrefslogtreecommitdiff
path: root/gnu/packages/firmware.scm
diff options
context:
space:
mode:
authorTimo Wilken <guix@twilken.net>2025-05-17 22:03:48 +0200
committerLudovic Courtès <ludo@gnu.org>2025-06-06 18:46:57 +0200
commit865208db3da8c46d012bfcdde3dce848dd783b77 (patch)
treee403e34d6ab58633ede6ad7fca34886f296edc8f /gnu/packages/firmware.scm
parentb482738d6ea5762fd1d1ea609839fc445678a7c5 (diff)
gnu: Add fwupd-efi.
This package provides a file that is vital for the process of firmware installation and updates on EFI systems using fwupd. * gnu/packages/firmware.scm (fwupd-efi): New variable. Change-Id: I3e610f47016af962b9f2675f645534cca076df2e Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/firmware.scm')
-rw-r--r--gnu/packages/firmware.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index ef4978df57..5bcbaac98d 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -211,6 +211,37 @@ assembler, disassembler, and debugging tools for the Linux kernel b43 wireless
driver.")
(license license:gpl2))))
+(define-public fwupd-efi
+ (package
+ (name "fwupd-efi")
+ (version "1.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/fwupd/fwupd-efi")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0n4v6pyg8fmrasdplkb03vjklqhp2k0zn9l8hmjfgibbf6g6mi9x"))))
+ (build-system meson-build-system)
+ (arguments
+ `(#:configure-flags
+ ,#~(list (string-append
+ "-Defi-libdir=" #$(this-package-input "gnu-efi") "/lib")
+ (string-append
+ "-Defi-includedir=" #$(this-package-input "gnu-efi") "/include/efi")
+ (string-append
+ "-Dpython=" #+(this-package-native-input "python") "/bin/python3")
+ "-Dgenpeimg=enabled")))
+ (native-inputs (list pkg-config python mingw-w64-tools))
+ (inputs (list gnu-efi))
+ (home-page "https://fwupd.org/")
+ (synopsis "EFI Application used by uefi-capsule plugin in fwupd")
+ (description "This package provides an EFI executable for fwupd, which is
+used in the process of installing and updating firmware.")
+ (license license:lgpl2.1+)))
+
(define-public fwupd
(package
(name "fwupd")