diff options
| author | Danny Milosavljevic <dannym@friendly-machines.com> | 2025-12-05 19:26:06 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-02-07 07:55:51 +0000 |
| commit | ac7ca705646e3e9f83d90d7bd7cd04e8039ae1db (patch) | |
| tree | 63e9e0ddc0899adf78b581ff85ed897a751c7aab /gnu | |
| parent | a2261b7be9d56cfe52980f77557f9e550a64849e (diff) | |
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/golang-check.scm | 33 |
1 files changed, 33 insertions, 0 deletions
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") |
