diff options
author | Oleg Pykhalov <go.wigust@gmail.com> | 2020-08-09 10:58:40 +0300 |
---|---|---|
committer | Oleg Pykhalov <go.wigust@gmail.com> | 2020-08-09 17:19:22 +0300 |
commit | f18df4f9dea09575b5d40ed6d1461dfface4b7c4 (patch) | |
tree | 23ddf9b24d741d1dc08bef6612f25c4b0a58ffe1 /gnu/packages/golang.scm | |
parent | b554842620a3b09e2b71b2c152fab3c4b0018b41 (diff) | |
download | guix-f18df4f9dea09575b5d40ed6d1461dfface4b7c4.tar.gz |
gnu: Add go-gopkg-in-warnings.
* gnu/packages/golang.scm (go-gopkg-in-warnings): New variable.
Diffstat (limited to 'gnu/packages/golang.scm')
-rw-r--r-- | gnu/packages/golang.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index e5d646e6a4..b991008bb9 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5090,3 +5090,25 @@ structures and algorithms in Go.") (arguments `(#:import-path "github.com/emirpasic/gods/utils" #:unpack-path "github.com/emirpasic/gods")))) + +(define-public go-gopkg-in-warnings + (package + (name "go-gopkg-in-warnings") + (version "0.1.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/go-warnings/warnings") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1kzj50jn708cingn7a13c2wdlzs6qv89dr2h4zj8d09647vlnd81")))) + (build-system go-build-system) + (arguments + `(#:import-path "gopkg.in/warnings.v0")) + (home-page "https://gopkg.in/warnings.v0") + (synopsis "Error handling with non-fatal errors") + (description "Package warnings implements error handling with non-fatal +errors (warnings).") + (license license:bsd-2))) |