From 9025bf7f025611d67bc29ac99770b2e437cca95c Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 5 Nov 2025 23:12:55 +0000 Subject: [PATCH] gnu: Add go-git-sr-ht-nelsam-correct. * gnu/packages/golang-check.scm (go-git-sr-ht-nelsam-correct): New variable. Change-Id: I78f06a7e0318a72e51edad2cd81ca6ea2c52da3a --- gnu/packages/golang-check.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm index 9096395714ddc28da20971f16488e9cf203d9d4b..01d400e3db229137edbdae9fa04f1b50264c81ee 100644 --- a/gnu/packages/golang-check.scm +++ b/gnu/packages/golang-check.scm @@ -96,6 +96,38 @@ testing package automatically and requires to check the returning boolean value and call @code{t.Fatal()} if the assertion fails.") (license license:expat))) +(define-public go-git-sr-ht-nelsam-correct + (package + (name "go-git-sr-ht-nelsam-correct") + (version "0.0.11") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~nelsam/correct") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1vzbcc7df22sagq229bvqjw1v1glh9kxfz77jjyxxnjpwik2y5rj")))) + (build-system go-build-system) + (arguments + (list + #:skip-build? #t + ;; Cycles with github.com/poy/onpar, and git.sr.ht/~nelsam/hel + #:tests? #f + #:import-path "git.sr.ht/~nelsam/correct")) + (propagated-inputs + (list go-github-com-fatih-color + go-golang-org-x-exp)) + (home-page "https://git.sr.ht/~nelsam/correct") + (synopsis "Assertions for Golang") + (description + "Correct is a collection of assertion libraries for Golang, intended to be +used together. It tries not to strictly enforce that, though - most of +correct should be customizeable either by changing some options or by using +only some sub-packages of correct.") + (license license:mpl2.0))) + (define-public go-github-com-adalogics-go-fuzz-headers (package (name "go-github-com-adalogics-go-fuzz-headers")