gnu: ifdtool: Improve style.

* gnu/packages/flashing-tools.scm (ifdtool)[source]: Switch url.
[arguments]: Use Gexps.
[home-page]: Update.

Change-Id: Ic5800d94a0a5393dfadd53278e6d6e2096cf1eb3
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Cayetano Santos 2025-09-17 10:16:14 +02:00 committed by Andreas Enge
parent 5bc29e79ac
commit 271e67201a
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -406,30 +406,31 @@ referred to as the \"Odin 3 protocol\".")
(package (package
(name "ifdtool") (name "ifdtool")
(version "4.9") (version "4.9")
(source (origin (source
(method git-fetch) (origin
(uri (git-reference (method git-fetch)
(url "https://github.com/coreboot/coreboot") (uri (git-reference
(commit version))) (url "https://review.coreboot.org/coreboot")
(file-name (git-file-name name version)) (commit version)))
(sha256 (file-name (git-file-name name version))
(base32 (sha256
"0jidj29jh6p65d17k304wlzhxvp4p3c2namgcdwg2sxq8jfr0zlm")))) (base32
"0jidj29jh6p65d17k304wlzhxvp4p3c2namgcdwg2sxq8jfr0zlm"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:make-flags (list
(list "CC=gcc" #:make-flags
"INSTALL=install" #~(list (string-append "CC=" #$(cc-for-target))
(string-append "PREFIX=" (assoc-ref %outputs "out"))) "INSTALL=install"
#:phases (string-append "PREFIX=" #$output))
(modify-phases %standard-phases #:phases
(add-after 'unpack 'chdir #~(modify-phases %standard-phases
(lambda _ (add-after 'unpack 'chdir
(chdir "util/ifdtool") (lambda _
#t)) (chdir "util/ifdtool")))
(delete 'configure)) ; no configure script (delete 'configure)) ; no configure script
#:tests? #f)) ; no test suite #:tests? #f)) ; no test suite
(home-page "https://github.com/corna/me_cleaner/") (home-page "https://doc.coreboot.org/util/ifdtool/")
(synopsis "Intel Firmware Descriptor dumper") (synopsis "Intel Firmware Descriptor dumper")
(description "This package provides @command{ifdtool}, a program to (description "This package provides @command{ifdtool}, a program to
dump Intel Firmware Descriptor data of an image file.") dump Intel Firmware Descriptor data of an image file.")