gnu: go-github-com-pierrec-lz4: Fix build.

* gnu/packages/golang-compression.scm (go-github-com-pierrec-lz4):
[source] <snippet>: Delete "cmd".
[native-inputs]: Add go-github-com-frankban-quicktest.

Change-Id: I7fda9700bb3c3b3b367be51b64e32f0b690c17ff
This commit is contained in:
Sharlatan Hellseher 2025-01-23 09:50:34 +00:00
parent 4f54185a55
commit 9fbffbf28b
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -347,11 +347,19 @@ Supported archive formats:
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0vfn01gd3hcpbj6gb4ig3pw6bv0g4j5780awr0fv4kf9id8gjvyy"))))
(base32 "0vfn01gd3hcpbj6gb4ig3pw6bv0g4j5780awr0fv4kf9id8gjvyy"))
(snippet
;; XXX: fiano uses this package as library only, cmd requires very
;; additional not packed and dated inputs. Overwrite with
;; go-github-com-pierrec-lz4-v4 when fiano is updated.
#~(begin (use-modules (guix build utils))
(delete-file-recursively "cmd")))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/pierrec/lz4"))
(native-inputs
(list go-github-com-frankban-quicktest))
(home-page "https://github.com/pierrec/lz4")
(synopsis "LZ4 compression in pure Go")
(description