sharlatan pushed a commit to branch go-team in repository guix. commit 267f02e608a7ef244dad4aec86ba42114dd6062f Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Tue Feb 18 13:36:12 2025 +0000
gnu: Add go-github-com-dvyukov-go-fuzz. * gnu/packages/golang-check.scm (go-github-com-dvyukov-go-fuzz): New variable. Change-Id: I60674438726a618b48b2aada16b80e81ef487a5d --- gnu/packages/golang-check.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm index ef664f60dd..8669052e29 100644 --- a/gnu/packages/golang-check.scm +++ b/gnu/packages/golang-check.scm @@ -466,6 +466,40 @@ style). test minimization algorithm.") (license license:bsd-2))) +(define-public go-github-com-dvyukov-go-fuzz + (package + (name "go-github-com-dvyukov-go-fuzz") + (version "0.0.0-20240924070022-e577bee5275c") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dvyukov/go-fuzz") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "07ckgxxphv0157g6gyganrinynvw43c3mvizagjbjm3q2blymfh3")) + (snippet + #~(begin (use-modules (guix build utils)) + (for-each delete-file-recursively + (list "go-fuzz/vendor" "test/vendor")))))) + (build-system go-build-system) + (arguments + (list + #:skip-build? #t + #:tests? #f + #:import-path "github.com/dvyukov/go-fuzz")) + (home-page "https://github.com/dvyukov/go-fuzz") + (synopsis "Randomized testing for Golang") + (description + "Go-fuzz is a coverage-guided +@url{http://en.wikipedia.org/wiki/Fuzz_testing, fuzzing solution} for testing +of Go packages. Fuzzing is mainly applicable to packages that parse complex +inputs (both text and binary), and is especially useful for hardening of +systems that parse inputs from potentially malicious users (e.g. anything +accepted over a network).") + (license license:asl2.0))) + (define-public go-github-com-elgris-jsondiff (package (name "go-github-com-elgris-jsondiff")