From 6d36befee8a74e206aead4b5c5a037b4a1b85310 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sun, 28 Apr 2024 13:52:54 +0300 Subject: gnu: Add go-github-com-warpfork-go-wish. * gnu/packages/golang-check.scm (go-github-com-warpfork-go-wish): New variable. * gnu/packages/patches/go-github-com-warpfork-go-wish-fix-tests.patch: New file. * gnu/local.mk (dist_patch_DATA): Add "go-github-com-warpfork-go-wish-fix-tests.patch". Change-Id: Ic3245a1112ef2e04b22cf26be23f27bf3ff90e9e Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-check.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/golang-check.scm') diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm index 3e26f5f374..12a7a24c21 100644 --- a/gnu/packages/golang-check.scm +++ b/gnu/packages/golang-check.scm @@ -1003,6 +1003,34 @@ custom assertions to be used alongside native Go testing.") (arguments (list #:import-path "github.com/go-playground/assert/v2")))) +(define-public go-github-com-warpfork-go-wish + (package + (name "go-github-com-warpfork-go-wish") + (version "0.0.0-20220906213052-39a1cc7a02d0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/warpfork/go-wish") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0rqbxmqwzy1q2zwy3mszp0li0pg8zzh3j9l8wlzr6p1pq2idallq")) + (patches (search-patches + "go-github-com-warpfork-go-wish-fix-tests.patch")))) + (build-system go-build-system) + (arguments + (list + #:go go-1.21 + #:import-path "github.com/warpfork/go-wish")) + (home-page "https://github.com/warpfork/go-wish") + (synopsis "Test assertions for Golang") + (description + "@code{wish} is a test assertion library for Golang, designed to +gracefully enhance standard library testing package and behaviors of the +@command{go test} command.") + (license license:expat))) + (define-public go-go-uber-org-goleak (package (name "go-go-uber-org-goleak") -- cgit v1.2.3