mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: Add efi_analyzer.
* gnu/packages/engineering.scm (efi_analyzer): New variable. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
This commit is contained in:
parent
b8c3fa315a
commit
373f808df2
1 changed files with 36 additions and 1 deletions
|
@ -1,7 +1,8 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
|
||||
;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||
;;; Copyright © 2019–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||
;;; Copyright © 2021 Vincent Legoll <vincent.legoll@gmail.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -61,6 +62,40 @@ (define-public gnu-efi
|
|||
;; Distribution is allowed only when accepting all those licenses.
|
||||
(license (list license:bsd-2 license:bsd-3 license:bsd-4 license:expat))))
|
||||
|
||||
(define-public efi_analyzer
|
||||
(let ((commit "77c9e3a67cd7c2fca48a4292dad25a5429872f95")
|
||||
(revision "0"))
|
||||
(package
|
||||
(name "efi_analyzer")
|
||||
(version (git-version "0.0.0" revision commit))
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/xypron/efi_analyzer")
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1izdkzybqyvzpzqz6kx4j7y47j6aa2dsdrychzgs65466x1a4br1"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:make-flags
|
||||
(list (string-append "prefix=" (assoc-ref %outputs "out")))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'support-cross-compilation
|
||||
(lambda _
|
||||
(substitute* "Makefile"
|
||||
(("gcc") ,(cc-for-target)))
|
||||
#t))
|
||||
(delete 'configure)))) ; no configure script
|
||||
(home-page "https://github.com/xypron/efi_analyzer")
|
||||
(synopsis "Analyze EFI binaries")
|
||||
(description
|
||||
"The EFI Analyzer checks EFI binaries and prints out header and section
|
||||
information.")
|
||||
(license license:bsd-2))))
|
||||
|
||||
(define-public sbsigntools
|
||||
(package
|
||||
(name "sbsigntools")
|
||||
|
|
Loading…
Reference in a new issue