sharlatan pushed a commit to branch master
in repository guix.
commit 73867181830f5cb8d885a5404147ef675b1db707
Author: Troy Figiel <[email protected]>
AuthorDate: Sun Feb 11 12:17:59 2024 +0100
gnu: go-github-com-oneofone-xxhash: Remove benchmarks.
* gnu/packages/golang.scm (go-github-com-oneofone-xxhash): Remove
benchmarks.
[arguments] <#:phases>: Add remove-benchmarks phase.
Signed-off-by: Sharlatan Hellseher <[email protected]>
Change-Id: I68db9ff67e5d48e932e01509c26e9ce545cda5e6
---
gnu/packages/golang.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 053970b8ac..17db9dd9b9 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9468,7 +9468,13 @@ back.")
"0f98qk83l2fhpclvrgyxsa9b8m4pipf11fah85bnjl01wy4lvybw"))))
(build-system go-build-system)
(arguments
- '(#:import-path "github.com/OneOfOne/xxhash"))
+ (list
+ #:import-path "github.com/OneOfOne/xxhash"
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-benchmarks
+ (lambda* (#:key import-path #:allow-other-keys)
+ (delete-file-recursively
+ (string-append "src/" import-path "/benchmarks")))))))
(home-page "https://github.com/OneOfOne/xxhash")
(synopsis "Go implementation of xxHash")
(description "This is a native Go implementation of the