guix_mirror_bot pushed a commit to branch master
in repository guix.
commit cd4f18c58b9847d607e57251b8f5bc878ef7e217
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Jul 7 15:32:23 2025 +0100
gnu: Add go-github-com-pingcap-errors.
* gnu/packages/golang-xyz.scm (go-github-com-pingcap-errors): New variable.
Change-Id: I22d25cbefd6c458c4962f216caa951a96c088362
---
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 0ccf43f540..dc3667a6ca 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -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")