gnu: flashrom: Update to 1.0.

* gnu/packages/flashing-tools.scm (flashrom): Update to 1.0.
This commit is contained in:
Tobias Geerinckx-Rice 2018-01-13 21:16:51 +01:00
parent 291b5de9ce
commit a03abe7888
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 5 additions and 4 deletions

View File

@ -6,6 +6,7 @@
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Jonathan Brielmaier <jonathan.brielmaier@web.de> ;;; Copyright © 2017 Jonathan Brielmaier <jonathan.brielmaier@web.de>
;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu> ;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -45,7 +46,7 @@
(define-public flashrom (define-public flashrom
(package (package
(name "flashrom") (name "flashrom")
(version "0.9.9") (version "1.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
@ -53,7 +54,7 @@
version ".tar.bz2")) version ".tar.bz2"))
(sha256 (sha256
(base32 (base32
"0i9wg1lyfg99bld7d00zqjm9f0lk6m0q3h3n9c195c9yysq5ccfb")))) "0r7fkpfc8w51n8ffbhclj4wa3kwrk0ijv1acwpw5myx5bchzl0ip"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("dmidecode" ,dmidecode) (inputs `(("dmidecode" ,dmidecode)
("pciutils" ,pciutils) ("pciutils" ,pciutils)
@ -64,10 +65,10 @@
'(#:make-flags (list "CC=gcc" '(#:make-flags (list "CC=gcc"
(string-append "PREFIX=" %output) (string-append "PREFIX=" %output)
"CONFIG_ENABLE_LIBUSB0_PROGRAMMERS=no") "CONFIG_ENABLE_LIBUSB0_PROGRAMMERS=no")
#:tests? #f ; no 'check' target #:tests? #f ; no 'check' target
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'configure) (delete 'configure) ; no configure script
(add-before 'build 'patch-exec-paths (add-before 'build 'patch-exec-paths
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(substitute* "dmi.c" (substitute* "dmi.c"