mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: go-github-com-shadowsocks-go-shadowsocks2: Enable all tests.
* gnu/packages/golang-crypto.scm (go-github-com-shadowsocks-go-shadowsocks2) [arguments]: <#:phases>: Use custom 'check phase. Change-Id: Ia7efa74417d47a4679befd11ca3e76aaf0bc8c48
This commit is contained in:
parent
8f14e8c9c3
commit
0a4e3c8041
1 changed files with 11 additions and 1 deletions
|
@ -1588,7 +1588,17 @@ wide-block encryption mode developed by Halevi and Rogaway.")
|
|||
(base32 "0n24h5ffgc3735y0mmp6dbhxdfm9fk13i26fqxxw7i75qnmvjvyg"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
`(#:import-path "github.com/shadowsocks/go-shadowsocks2"))
|
||||
(list
|
||||
#:import-path "github.com/shadowsocks/go-shadowsocks2"
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
;; XXX: 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-github-com-riobard-go-bloom
|
||||
go-golang-org-x-crypto))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue