guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 09bb7a6936463910c39e59182e7076eee14d46f9
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Feb 27 23:28:20 2026 +0000
gnu: go-github-com-matryer-try: Move to golang-check.
* gnu/packages/golang-xyz.scm (go-github-com-matryer-try): Move from
here ...
* gnu/packages/golang-check.scm: ... to here.
Change-Id: I8f3ec4b01473e5fb5c92f4779b2e3eb89b72ec91
---
gnu/packages/golang-check.scm | 34 ++++++++++++++++++++++++++++++++++
gnu/packages/golang-xyz.scm | 34 ----------------------------------
2 files changed, 34 insertions(+), 34 deletions(-)
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 3780650589..167a7e36ae 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -2153,6 +2153,40 @@ testing capabilities.")
can be used in test code as a mock of the interface.")
(license license:expat)))
+(define-public go-github-com-matryer-try
+ (package
+ (name "go-github-com-matryer-try")
+ (version "0.0.0-20161228173917-9ac251b645a2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/matryer/try")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "19fnqmpl3p54vmxgm1hmqvdc87brqx754wf3cdhq1bj04fcbb5h9"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/matryer/try"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-tests
+ (lambda* (#:key import-path #:allow-other-keys)
+ (substitute* (string-append "src/" import-path
+ "/try_test.go")
+ (("var value string")
+ "")
+ (("value, err = SomeFunction\\(\\)")
+ "_, err = SomeFunction()")))))))
+ (native-inputs
+ (list go-github-com-cheekybits-is))
+ (home-page "https://github.com/matryer/try")
+ (synopsis "Simple idiomatic retry package for Go")
+ (description "This package provides an idiomatic Go retry module.")
+ (license license:expat)))
+
(define-public go-github-com-maxatome-go-testdeep
(package
(name "go-github-com-maxatome-go-testdeep")
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 5851610585..345ec98413 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -17331,40 +17331,6 @@ functions.")
"Package squirrel provides a fluent SQL generator.")
(license license:expat)))
-(define-public go-github-com-matryer-try
- (package
- (name "go-github-com-matryer-try")
- (version "0.0.0-20161228173917-9ac251b645a2")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/matryer/try")
- (commit (go-version->git-ref version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "19fnqmpl3p54vmxgm1hmqvdc87brqx754wf3cdhq1bj04fcbb5h9"))))
- (build-system go-build-system)
- (arguments
- (list
- #:import-path "github.com/matryer/try"
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'fix-tests
- (lambda* (#:key import-path #:allow-other-keys)
- (substitute* (string-append "src/" import-path
- "/try_test.go")
- (("var value string")
- "")
- (("value, err = SomeFunction\\(\\)")
- "_, err = SomeFunction()")))))))
- (native-inputs
- (list go-github-com-cheekybits-is))
- (home-page "https://github.com/matryer/try")
- (synopsis "Simple idiomatic retry package for Go")
- (description "This package provides an idiomatic Go retry module.")
- (license license:expat)))
-
(define-public go-github-com-mattn-go-colorable
(package
(name "go-github-com-mattn-go-colorable")