guix_mirror_bot pushed a commit to branch master
in repository guix.
commit cad9cf4805b3bdde3c766f1a835570ec1b1d912e
Author: Patrick Norton <[email protected]>
AuthorDate: Mon Nov 24 14:06:21 2025 -0500
gnu: Add go-github-com-dsnet-try.
* gnu/packages/golang-xyz.scm (go-github-com-dsnet-try): New variable.
Change-Id: I943dd6417a232a9120c1da74a983ff93b6909121
Modified-by: Sharlatan Hellseher <[email protected]>
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 6809abe95e..3a16851530 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -7080,6 +7080,30 @@ Implements string conversion functionality for unit
prefixes.
@end table")
(license license:bsd-3)))
+(define-public go-github-com-dsnet-try
+ (package
+ (name "go-github-com-dsnet-try")
+ (version "0.0.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dsnet/try")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0c6n27sfh37ngl6rh3y0l0f1yc169v97va3msbsnza723f6f7rdb"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/dsnet/try"))
+ (home-page "https://github.com/dsnet/try")
+ (synopsis "Simplified Error Handling in Golang")
+ (description
+ "This package emulates aspects of the ill-fated \"try\" proposal using
+generics.")
+ (license license:bsd-3)))
+
(define-public go-github-com-dustin-go-humanize
(package
(name "go-github-com-dustin-go-humanize")