gnu: Move go-github-com-pkg-errors to the Golang package module.

* gnu/packages/syncthing.scm (go-github-com-pkg-errors): Move ...
* gnu/packages/golang.scm (go-github-com-pkg-errors): ... here.
This commit is contained in:
Leo Famulari 2019-07-16 11:28:03 -04:00
parent 6d766bec44
commit 2da5275f81
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08
2 changed files with 22 additions and 22 deletions

View file

@ -3584,3 +3584,25 @@ (define-public go-github-com-lucas-clemente-quic-go
network protocol.") network protocol.")
(home-page "https://github.com/lucas-clemente/quic-go") (home-page "https://github.com/lucas-clemente/quic-go")
(license license:expat))) (license license:expat)))
(define-public go-github-com-pkg-errors
(package
(name "go-github-com-pkg-errors")
(version "0.8.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/pkg/errors.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0g5qcb4d4fd96midz0zdk8b9kz8xkzwfa8kr1cliqbg8sxsy5vd1"))))
(build-system go-build-system)
(arguments
`(#:import-path "github.com/pkg/errors"))
(synopsis "Go error handling primitives")
(description "This package provides @code{error}, which offers simple
error handling primitives in Go.")
(home-page "https://github.com/pkg/errors")
(license license:bsd-2)))

View file

@ -739,28 +739,6 @@ (define-public go-github-com-chmduquesne-rollinghash
(home-page "https://github.com/chmduquesne/rollinghash") (home-page "https://github.com/chmduquesne/rollinghash")
(license expat)))) (license expat))))
(define-public go-github-com-pkg-errors
(package
(name "go-github-com-pkg-errors")
(version "0.8.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/pkg/errors.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0g5qcb4d4fd96midz0zdk8b9kz8xkzwfa8kr1cliqbg8sxsy5vd1"))))
(build-system go-build-system)
(arguments
`(#:import-path "github.com/pkg/errors"))
(synopsis "Go error handling primitives")
(description "This package provides @code{error}, which offers simple
error handling primitives in Go.")
(home-page "https://github.com/pkg/errors")
(license bsd-2)))
(define-public go-github-com-petermattis-goid (define-public go-github-com-petermattis-goid
(let ((commit "3db12ebb2a599ba4a96bea1c17b61c2f78a40e02") (let ((commit "3db12ebb2a599ba4a96bea1c17b61c2f78a40e02")
(revision "0")) (revision "0"))