guix-commits
[Top][All Lists]
Advanced

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

05/10: gnu: Add go-golang-org-x-xerrors.


From: guix-commits
Subject: 05/10: gnu: Add go-golang-org-x-xerrors.
Date: Tue, 27 Oct 2020 13:01:22 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 560eec4010f6302e2e3ec270536646ca0e12436c
Author: Ryan Prior <rprior@protonmail.com>
AuthorDate: Mon Oct 12 03:50:03 2020 +0000

    gnu: Add go-golang-org-x-xerrors.
    
    * gnu/packages/golang.scm (go-golang-org-x-xerrors): New variable.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 2b60f18..648e8cf 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -912,6 +912,30 @@ time.")
  spec in Go.")
       (license license:bsd-3))))
 
+(define-public go-golang-org-x-xerrors
+  (let ((commit "5ec99f83aff198f5fbd629d6c8d8eb38a04218ca")
+        (revision "0"))
+    (package
+      (name "go-golang-org-x-xerrors")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://go.googlesource.com/xerrors";)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1dbzc3gmf2haazpv7cgmv97rq40g2xzwbglc17vas8dwhgwgwrzb"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "golang.org/x/xerrors"))
+      (synopsis "Go 1.13 error values")
+      (description
+       "This package holds the transition packages for the new Go 1.13 error 
values.")
+      (home-page "https://godoc.org/golang.org/x/xerrors";)
+      (license license:bsd-3))))
+
 (define-public go-github-com-burntsushi-toml
   (package
     (name "go-github-com-burntsushi-toml")



reply via email to

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