diff options
author | Marius Bakke <marius@gnu.org> | 2022-02-03 18:43:52 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-02-03 23:39:47 +0100 |
commit | 678c5bea3a27064ad000ec79cc1ad8b7e40a5241 (patch) | |
tree | 00d3c98daa7a4470b16e8150afb498daafb1a7f7 /gnu/packages | |
parent | 07e4efae7b188100ee8d7cc37b0a3a1adc3cfe74 (diff) | |
download | guix-678c5bea3a27064ad000ec79cc1ad8b7e40a5241.tar.gz |
gnu: usbguard: Update to 1.0.0-55-g466f1f0.
* gnu/packages/hardware.scm (usbguard): Update to 1.0.0-55-g466f1f0. [source]: Switch to GIT-FETCH. [arguments]: Add phase to patch bootstrap script. Delay patch-build-scripts. [native-inputs]: Add AUTOCONF, AUTOMAKE, and LIBTOOL.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/hardware.scm | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index a93db0be3f..8d8947e3c5 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2021, 2022 John Kehayias <john.kehayias@protonmail.com> ;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com> ;;; Copyright © 2022 Maxime Devos <maximedevos@telenet.be> +;;; Copyright © 2022 Marius Bakke <marius@gnu.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -823,20 +824,28 @@ applications.") (define-public usbguard (package (name "usbguard") - (version "0.7.8") + ;; Note: Use a recent snapshot to get compatibility with newer system + ;; libraries. + (version "1.0.0-55-g466f1f0") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/USBGuard/usbguard/releases/download/usbguard-" - version "/usbguard-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/USBGuard/usbguard") + (commit (string-append "usbguard-" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1il5immqfxh2cj8wn1bfk7l42inflzgjf07yqprpz7r3lalbxc25")))) + (base32 "0rc0213qsfap3sgx9m3m1kppxbjl2fdwmzlbn5rbmn1i33125dfi")))) (build-system gnu-build-system) (arguments `(#:phases (modify-phases %standard-phases - (add-after 'unpack 'patch-build-scripts + (add-after 'unpack 'patch-bootstrap-script + (lambda _ + ;; Don't attempt to fetch git submodules. + (substitute* "autogen.sh" + (("^git submodule.*") + "")))) + (add-after 'bootstrap 'patch-build-scripts (lambda* (#:key inputs #:allow-other-keys) (substitute* "configure" (("/usr/include/catch") @@ -887,6 +896,9 @@ applications.") ("libqb" ,libqb))) (native-inputs `(("asciidoc" ,asciidoc) + ("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) ("bash-completion" ,bash-completion) ("gdbus-codegen" ,glib "bin") ("umockdev" ,umockdev) |