guix_mirror_bot pushed a commit to branch master
in repository guix.
commit ac7ca705646e3e9f83d90d7bd7cd04e8039ae1db
Author: Danny Milosavljevic <[email protected]>
AuthorDate: Fri Dec 5 19:26:06 2025 +0100
gnu: Add go-github-com-ysmood-goob.
* gnu/packages/golang-xyz.scm (go-github-com-ysmood-goob): New variable.
Change-Id: I1f3120c2375b246413daf1118b8c6f67c1a2d500
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/golang-check.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 960fe13734..c7f942cdfd 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -2865,6 +2865,39 @@ gracefully enhance standard library testing package and
behaviors of the
@command{go test} command.")
(license license:expat)))
+(define-public go-github-com-ysmood-goob
+ (package
+ (name "go-github-com-ysmood-goob")
+ (version "0.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ysmood/goob")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1z4632i1mx9rxslq7b9jd4zg600wangxyirh99fxsv0i2jprak53"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/ysmood/goob"
+ #: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-ysmood-gotrace))
+ (home-page "https://github.com/ysmood/goob")
+ (synopsis "Go observable pattern library")
+ (description
+ "Goob is a Go implementation of the observable pattern, providing a
+simple way to create observable objects and subscribe to their changes.")
+ (license license:expat)))
+
(define-public go-github-com-ysmood-gotrace
(package
(name "go-github-com-ysmood-gotrace")