1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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 <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Patrick Norton
2025-11-24 14:06:21 -05:00
committed by Sharlatan Hellseher
parent a07cb7ae92
commit cad9cf4805

View File

@@ -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")