gnu: gwl: Update to 0.2.1.

* gnu/packages/package-management.scm (gwl): Update to 0.2.1.
[arguments]: Add phase "fix-tests".
This commit is contained in:
Ricardo Wurmus 2020-03-01 22:56:45 +01:00
parent 42c7f6e748
commit efb98dd09d
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -788,14 +788,24 @@ (define-public conda
(define-public gwl
(package
(name "gwl")
(version "0.2.0")
(version "0.2.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/gwl/gwl-" version ".tar.gz"))
(sha256
(base32
"0db1nvy6qzhj9kv834vrlxw7gqv3lih1n4hv5zac1zjmb61ll915"))))
"1ji5jvzni8aml9fmimlr11g3k8isrnlvnbzhmwgdjh72hils0alc"))))
(build-system gnu-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'build 'fix-tests
(lambda _
;; Avoid cross-device link.
(substitute* "tests/cache.scm"
(("/tmp/gwl-test-input-XXXXXX")
(string-append (getcwd) "/gwl-test-input-XXXXXX")))
#t)))))
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)