diff options
-rw-r--r-- | gnu/packages/golang-check.scm | 28 | ||||
-rw-r--r-- | gnu/packages/golang.scm | 27 |
2 files changed, 28 insertions, 27 deletions
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm index 32f5b8a812..7370a88ab6 100644 --- a/gnu/packages/golang-check.scm +++ b/gnu/packages/golang-check.scm @@ -1760,6 +1760,34 @@ accurate testing of your code.") (with-directory-excursion (string-append "src/" import-path) (invoke "go" "test" "-v" "./...")))))))))) +(define-public go-gopkg-in-errgo-fmt-errors + (package + (name "go-gopkg-in-errgo-fmt-errors") + (version "2.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/go-errgo/errgo") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "065mbihiy7q67wnql0bzl9y1kkvck5ivra68254zbih52jxwrgr2")))) + (build-system go-build-system) + (arguments + (list + #:skip-build? #t + #:import-path "gopkg.in/errgo.v2")) + (native-inputs + (list go-gopkg-in-check-v1)) + (home-page "https://godoc.org/gopkg.in/errgo.v2") + (synopsis "Functions that use the fmt package to format error messages") + (description + "This package is the same as @code{gopkg.in/errgo.v2/errors} except that +it adds convenience functions that use the fmt package to format error +messages.") + (license license:bsd-3))) + (define-public go-gopkg-in-go-playground-assert-v1 (package (name "go-gopkg-in-go-playground-assert-v1") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 5514a11239..871b140471 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5179,33 +5179,6 @@ losing type information. The primary intended use is for implementing configuration languages, but other uses may be possible too.") (license license:expat))) -(define-public go-gopkg-in-errgo-fmt-errors - (package - (name "go-gopkg-in-errgo-fmt-errors") - (version "2.1.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/go-errgo/errgo") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "065mbihiy7q67wnql0bzl9y1kkvck5ivra68254zbih52jxwrgr2")))) - (build-system go-build-system) - (arguments - (list - #:skip-build? #t - #:import-path "gopkg.in/errgo.v2")) - (native-inputs - (list go-gopkg-in-check-v1)) - (home-page "https://godoc.org/gopkg.in/errgo.v2") - (synopsis "Functions that use the fmt package to format error messages") - (description "This package is the same as @code{gopkg.in/errgo.v2/errors} -except that it adds convenience functions that use the fmt package to format -error messages.") - (license license:bsd-3))) - (define-public go-github-com-gologme-log ;; this is the same as v1.2.0, only the LICENSE file changed (let ((commit "720ba0b3ccf0a91bc6018c9967a2479f93f56a55")) |