mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
gnu: fwupd: Update to 1.8.14.
* gnu/packages/firmware.scm (fwupd): Update to 1.8.14. Also, change two files' timestamp because they are zipped up by Python. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
87ba11eff1
commit
8a8bd15bfa
1 changed files with 11 additions and 2 deletions
|
@ -199,7 +199,7 @@ (define-public b43-tools
|
|||
(define-public fwupd
|
||||
(package
|
||||
(name "fwupd")
|
||||
(version "1.8.3")
|
||||
(version "1.8.14")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
|
@ -208,7 +208,7 @@ (define-public fwupd
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"02jf052qj1nl47ppqrgz3s9qapq4pajgkf6lbj5rxr5sshlrw44n"))))
|
||||
"179yc0nbbyrdya5q16ncf7lkslrhr3i90rgb9vdmv751ikilkby6"))))
|
||||
(build-system meson-build-system)
|
||||
(arguments
|
||||
(list
|
||||
|
@ -236,6 +236,15 @@ (define-public fwupd
|
|||
(substitute* "src/fu-self-test.c"
|
||||
(("/bin/sh")
|
||||
(which "sh")))))
|
||||
;; These two files are zipped by Python, so need a newer timestamp.
|
||||
(add-after 'unpack 'newer-timestamps-for-python-zip
|
||||
(lambda _
|
||||
(let ((circa-1980 (* 10 366 24 60 60)))
|
||||
(for-each (lambda (file)
|
||||
(make-file-writable file)
|
||||
(utime file circa-1980 circa-1980))
|
||||
'("./libfwupdplugin/tests/colorhug/firmware.bin"
|
||||
"./libfwupdplugin/tests/colorhug/firmware.bin.asc")))))
|
||||
(add-before 'build 'setup-home
|
||||
(lambda _
|
||||
(setenv "HOME" "/tmp")))
|
||||
|
|
Loading…
Reference in a new issue