gnu: go-github-com-goccy-yaml: Remove benchmarks.

* gnu/packages/golang.scm (go-github-com-goccy-yaml): Remove benchmarks.
[arguments] <#:phases>: Add remove-benchmarks phase.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I4249df3ab64d734ebf561e84f6bbc7ed50ff3a1b
This commit is contained in:
Troy Figiel 2024-02-11 11:44:11 +01:00 committed by Sharlatan Hellseher
parent 7386718183
commit 0f19437ab8
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -8947,7 +8947,13 @@ (define-public go-github-com-goccy-yaml
(base32 "1nps58dwkd915mx35h5f0dc05b880b4fdl6dcjxpfmmbzyinvg38"))))
(build-system go-build-system)
(arguments
`(#:import-path "github.com/goccy/go-yaml"))
(list
#:import-path "github.com/goccy/go-yaml"
#: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")))))))
(propagated-inputs
(list go-github-com-fatih-color go-golang-org-x-xerrors))
(native-inputs