mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-22 18:26:43 +01:00
gnu: go-github-com-chmduquesne-rollinghash: Enable all tests.
* gnu/packages/golang-crypto.scm (go-github-com-chmduquesne-rollinghash): Enable all tests. [arguments]: <#:phases>: Add custom 'check phase. [propagated-inputs]: Add go-code-cloudfoundry-org-bytefmt. Change-Id: I2cfe6b3d490de4b85ed0814e074caac1f73d6936
This commit is contained in:
parent
bd7042bf31
commit
c160d88c6c
1 changed files with 12 additions and 1 deletions
|
@ -339,7 +339,18 @@ (define-public go-github-com-chmduquesne-rollinghash
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:import-path "github.com/chmduquesne/rollinghash/"))
|
||||
#:import-path "github.com/chmduquesne/rollinghash/"
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
;; XXX: Run all tests, workaround for go-build-system's lack of Go
|
||||
;; modules support.
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? import-path #:allow-other-keys)
|
||||
(when tests?
|
||||
(with-directory-excursion (string-append "src/" import-path)
|
||||
(invoke "go" "test" "-v" "./..."))))))))
|
||||
(propagated-inputs
|
||||
(list go-code-cloudfoundry-org-bytefmt))
|
||||
(home-page "https://github.com/chmduquesne/rollinghash")
|
||||
(synopsis "Rolling hashes in Go")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue