guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

28/37: gnu: Add go-github-com-hashicorp-errwrap.


From: guix-commits
Subject: 28/37: gnu: Add go-github-com-hashicorp-errwrap.
Date: Wed, 6 Mar 2024 18:46:20 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit d7abe61507572f040cefe788a6853dbd5959e205
Author: Artyom V. Poptsov <poptsov.artyom@gmail.com>
AuthorDate: Sat Mar 2 23:25:06 2024 +0300

    gnu: Add go-github-com-hashicorp-errwrap.
    
    * gnu/packages/golang-xyz.scm (go-github-com-hashicorp-errwrap): New
      variable.
    
    Change-Id: I4a0e7c23f9aaab4e29c81a68d976dafcd86dd2d1
    Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
 gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 3fdc88c356..f488b17e61 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -768,6 +768,30 @@ Differentiation between text and binary files}.
 @end itemize")
     (license license:expat)))
 
+(define-public go-github-com-hashicorp-errwrap
+  (package
+    (name "go-github-com-hashicorp-errwrap")
+    (version "1.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/hashicorp/errwrap";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0p5wdz8p7dmwphmb33gwhy3iwci5k9wkfqmmfa6ay1lz0cqjwp7a"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/hashicorp/errwrap"))
+    (home-page "https://github.com/hashicorp/errwrap";)
+    (synopsis "Wrapping and querying errors for Golang")
+    (description
+     "@code{errwrap} is a package for Go that formalizes the pattern of
+wrapping errors and checking if an error contains another error.")
+    (license license:mpl2.0)))
+
 (define-public go-github-com-hhrutter-tiff
   (package
     (name "go-github-com-hhrutter-tiff")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]