~ruther/guix-local

cad9cf4805b3bdde3c766f1a835570ec1b1d912e — Patrick Norton 3 months ago a07cb7a
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>
1 files changed, 24 insertions(+), 0 deletions(-)

M gnu/packages/golang-xyz.scm
M gnu/packages/golang-xyz.scm => gnu/packages/golang-xyz.scm +24 -0
@@ 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")