guix_mirror_bot pushed a commit to branch go-team
in repository guix.
commit cf3cb2640ca6053ceda7f74be3ebb58aa05fa580
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed May 28 16:15:50 2025 +0100
gnu: Add go-github-com-pingcap-errors.
* gnu/packages/golang-xyz.scm (go-github-com-pingcap-errors): New variable.
Change-Id: Id6f64655ce80aa1affb9fa19738cb0cd8a607d85
---
gnu/packages/golang-xyz.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 298c9fd6d7..dd26eda05e 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -14833,6 +14833,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")