gnu: Add go-github-com-pingcap-errors.

* gnu/packages/golang-xyz.scm (go-github-com-pingcap-errors): New variable.

Change-Id: I22d25cbefd6c458c4962f216caa951a96c088362
This commit is contained in:
Sharlatan Hellseher 2025-07-07 15:32:23 +01:00
parent ef70a25c9d
commit cd4f18c58b
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -14706,6 +14706,46 @@ protocols.")
on top of the standard library @code{flag} package.")
(license license:bsd-3)))
(define-public go-github-com-pingcap-errors
(package
(name "go-github-com-pingcap-errors")
(version "0.11.4")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/pingcap/errors")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "02k6b30m42aya763fnwx3paq4r8h28yav4i2kv2z4r28r70xxcgn"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/pingcap/errors"
#:test-flags
#~(list "-skip" (string-join
;; XXX: Some parsing issues in these tests.
(list "TestFormatErrorf"
"TestFormatNew"
"TestFormatWithMessage"
"TestFormatWithStack"
"TestFormatWrap"
"TestFormatWrapf"
"TestFrameFormat"
"TestFrameLine"
"TestStackTrace"
"TestStackTraceFormat")
"|"))))
(native-inputs
(list go-github-com-pkg-errors))
(home-page "https://github.com/pingcap/errors")
(synopsis "Simple error handling primitives")
(description
"Package errors provides simple error handling primitives. It's an
alternative fork of https://github.com/pkg/errors project.")
(license license:bsd-2)))
(define-public go-github-com-pion-logging
(package
(name "go-github-com-pion-logging")