gnu: go-github-com-pkg-errors: Move to golang-build.

* gnu/packages/golang.scm (go-github-com-pkg-errors): Move from here ...
* gnu/packages/golang-build.scm: ... to here.

Change-Id: Ic91629d1832e559928b20567bd930783377b568c
This commit is contained in:
Sharlatan Hellseher 2024-12-14 11:04:43 +00:00
parent 01fd7f5d41
commit da29c17892
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
2 changed files with 33 additions and 32 deletions

View file

@ -4585,35 +4585,6 @@ designed to clean up raw terminal output by stripping escape sequences,
optionally preserving color.")
(license license:expat)))
;; XXX: This repository has been archived by the owner on Dec 1, 2021. It is
;; now read-only.
(define-public go-github-com-pkg-errors
(package
(name "go-github-com-pkg-errors")
(version "0.9.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/pkg/errors")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1761pybhc2kqr6v5fm8faj08x9bql8427yqg6vnfv6nhrasx1mwq"))))
(build-system go-build-system)
(arguments
(list
;; Tests fail with a newer version of Golang (1.21) due to some API
;; changes in how the module path is calculated which is not reflected
;; in tests.
#:tests? #f
#: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)))
(define-public go-github-com-maruel-panicparse
(package
(name "go-github-com-maruel-panicparse")