gnu: Add go-gopkg-in-warnings.

* gnu/packages/golang.scm (go-gopkg-in-warnings): New variable.
This commit is contained in:
Oleg Pykhalov 2020-08-09 10:58:40 +03:00
parent b554842620
commit f18df4f9de
No known key found for this signature in database
GPG key ID: 167F8EA5001AFA9C

View file

@ -5090,3 +5090,25 @@ (define-public go-github-com-emirpasic-gods-utils
(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)))