guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 6f47ce4326688cc84a8adf27cb10f81b04ca46ef
Author: Danny Milosavljevic <[email protected]>
AuthorDate: Fri Dec 5 19:26:27 2025 +0100
gnu: Add go-github-com-ysmood-got.
* gnu/packages/golang-xyz.scm (go-github-com-ysmood-got): New variable.
Change-Id: I00a4e0bd6604558f6972d9f6c191e98b4c9f30f2
Modified-by: Sharlatan Hellseher <[email protected]>
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/golang-check.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index c7f942cdfd..cab6da0681 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -2898,6 +2898,45 @@ gracefully enhance standard library testing package and
behaviors of the
simple way to create observable objects and subscribe to their changes.")
(license license:expat)))
+(define-public go-github-com-ysmood-got
+ (package
+ (name "go-github-com-ysmood-got")
+ (version "0.42.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ysmood/got")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0nlkclkxnmzji6vfacyzl4khfsgdsj8x3m8w33q6f8cr5944vh0y"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/ysmood/got"
+ #:test-flags
+ ;; Tests fail due to: ANSI escape/terminal color differences
+ #~(list "-skip" "TestAssertionColor|TestColor")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'pre-check
+ (lambda _
+ ;; Tests require GODEBUG="tracebackancestors=N" environment
+ ;; setting.
+ (setenv "GODEBUG" "tracebackancestors=1000"))))))
+ (native-inputs
+ (list go-github-com-sergi-go-diff
+ go-github-com-ysmood-gotrace))
+ (propagated-inputs
+ (list go-github-com-ysmood-gop))
+ (home-page "https://github.com/ysmood/got")
+ (synopsis "Go test helpers and assertion library")
+ (description
+ "Got is a Go test helper library that provides assertion functions and
+utilities for writing cleaner test code.")
+ (license license:expat)))
+
(define-public go-github-com-ysmood-gotrace
(package
(name "go-github-com-ysmood-gotrace")