guix: Fix osslsigncode tests
This commit is contained in:
1 file changed
+12
-1
@@ -2,6 +2,7 @@
|
|||||||
((gnu packages bash) #:select (bash-minimal))
|
((gnu packages bash) #:select (bash-minimal))
|
||||||
(gnu packages bison)
|
(gnu packages bison)
|
||||||
((gnu packages certs) #:select (nss-certs))
|
((gnu packages certs) #:select (nss-certs))
|
||||||
|
((gnu packages check) #:select (libfaketime))
|
||||||
((gnu packages cmake) #:select (cmake-minimal))
|
((gnu packages cmake) #:select (cmake-minimal))
|
||||||
(gnu packages commencement)
|
(gnu packages commencement)
|
||||||
(gnu packages compression)
|
(gnu packages compression)
|
||||||
@@ -208,7 +209,17 @@ and abstract ELF, PE and MachO formats.")
|
|||||||
(base32
|
(base32
|
||||||
"1j47vwq4caxfv0xw68kw5yh00qcpbd56d7rq6c483ma3y7s96yyz"))))
|
"1j47vwq4caxfv0xw68kw5yh00qcpbd56d7rq6c483ma3y7s96yyz"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(inputs (list openssl))
|
(arguments
|
||||||
|
(list
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(if tests?
|
||||||
|
(invoke "faketime" "-f" "@2025-01-01 00:00:00" ;; Tests fail after 2025.
|
||||||
|
"ctest" "--output-on-failure" "--no-tests=error")
|
||||||
|
(format #t "test suite not run~%")))))))
|
||||||
|
(inputs (list libfaketime openssl))
|
||||||
(home-page "https://github.com/mtrojnar/osslsigncode")
|
(home-page "https://github.com/mtrojnar/osslsigncode")
|
||||||
(synopsis "Authenticode signing and timestamping tool")
|
(synopsis "Authenticode signing and timestamping tool")
|
||||||
(description "osslsigncode is a small tool that implements part of the
|
(description "osslsigncode is a small tool that implements part of the
|
||||||
|
|||||||
Reference in new issue
Block a user