guix-commits
[Top][All Lists]
Advanced

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

49/62: gnu: Add go-github-com-pkg-errors.


From: Leo Famulari
Subject: 49/62: gnu: Add go-github-com-pkg-errors.
Date: Thu, 12 Oct 2017 21:43:43 -0400 (EDT)

lfam pushed a commit to branch master
in repository guix.

commit 936e02b4802c9a2df0031b12870d0c24f4c16844
Author: Leo Famulari <address@hidden>
Date:   Wed Oct 11 20:17:47 2017 -0400

    gnu: Add go-github-com-pkg-errors.
    
    * gnu/packages/syncthing.scm (go-github-com-pkg-errors): New variable.
---
 gnu/packages/syncthing.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index 922c07f..acfa1e0 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -1319,6 +1319,30 @@ rolling hash.")
       (home-page "https://github.com/templexxx/xor";)
       (license expat))))
 
+(define-public go-github-com-pkg-errors
+  (let ((commit "ff09b135c25aae272398c51a07235b90a75aa4f0")
+        (revision "0"))
+    (package
+      (name "go-github-com-pkg-errors")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/pkg/errors.git";)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0pwl6v3hmc22zp32gkyqykl4kg69xk1mlp0vmhgd1f44difd5fvz"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/pkg/errors"))
+      (synopsis "Go error handling primitives")
+      (description "This packages provides @code{error}, which offers simple
+error handling primitives in Go.")
+      (home-page "https://github.com/pkg/errors";)
+      (license bsd-2))))
+
 (define-public go-github-com-petermattis-goid
   (let ((commit "3db12ebb2a599ba4a96bea1c17b61c2f78a40e02")
         (revision "0"))



reply via email to

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