[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
134/172: gnu: go-github-com-shadowsocks-go-shadowsocks2: Enable all test
From: |
guix-commits |
Subject: |
134/172: gnu: go-github-com-shadowsocks-go-shadowsocks2: Enable all tests. |
Date: |
Sat, 9 Nov 2024 16:45:08 -0500 (EST) |
sharlatan pushed a commit to branch master
in repository guix.
commit 0a4e3c8041cf6f01f1c58eefc5c571b0025ddbe9
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Sep 22 12:57:48 2024 +0100
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
---
gnu/packages/golang-crypto.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index 27ce64ca9a..1236ff38e3 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -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))
- 106/172: gnu: Add go-github-com-circonus-labs-go-apiclient., (continued)
- 106/172: gnu: Add go-github-com-circonus-labs-go-apiclient., guix-commits, 2024/11/09
- 110/172: gnu: Add go-github-com-xlab-treeprint., guix-commits, 2024/11/09
- 124/172: gnu: go-github-com-matttproud-golang-protobuf-extensions-v2: Fix build., guix-commits, 2024/11/09
- 130/172: gnu: Add go-github-com-aead-ecdh., guix-commits, 2024/11/09
- 132/172: gnu: go-github-com-aead-chacha20: Fix indentation., guix-commits, 2024/11/09
- 116/172: gnu: Add go-msgp., guix-commits, 2024/11/09
- 125/172: build/go: Replace symlinks with a copy of the file., guix-commits, 2024/11/09
- 122/172: gnu: go-github-com-nbrownus-go-metrics-prometheus: Fix build., guix-commits, 2024/11/09
- 131/172: gnu: go-github-com-aead-chacha20: Update to 0.0.0-20180709150244-8b13a72661da., guix-commits, 2024/11/09
- 128/172: gnu: go-github-com-deckarep-golang-set-v2: Update to 2.6.0., guix-commits, 2024/11/09
- 134/172: gnu: go-github-com-shadowsocks-go-shadowsocks2: Enable all tests.,
guix-commits <=
- 111/172: gnu: Add go-github-com-ryanuber-columnize., guix-commits, 2024/11/09
- 170/172: build/go: fix-embed-files: Adjust procedure docstring., guix-commits, 2024/11/09
- 171/172: gnu: go-1.22: Update to 1.22.7., guix-commits, 2024/11/09
- 148/172: gnu: trezord: Refresh package style., guix-commits, 2024/11/09
- 146/172: gnu: Add go-github-com-prometheus-community-pro-bing., guix-commits, 2024/11/09
- 145/172: gnu: go-github-com-sevlyar-go-daemon: Move to golang-xyz., guix-commits, 2024/11/09
- 141/172: gnu: go-github-com-smartystreets-goconvey: Update to v1.8.1., guix-commits, 2024/11/09
- 150/172: gnu: go-github-com-emersion-go-autostart: Update to 0.0.0-20210130080809-00ed301c8e9a., guix-commits, 2024/11/09
- 155/172: gnu: Add go-rsc-io-binaryregexp., guix-commits, 2024/11/09
- 165/172: gnu: go-github-com-tekwizely-go-parsing: Adjust description., guix-commits, 2024/11/09