guix-patches
[Top][All Lists]
Advanced

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

[bug#48729] [PATCH v3 31/47] gnu: Add go-github-com-getlantern-errors.


From: Raghav Gururajan
Subject: [bug#48729] [PATCH v3 31/47] gnu: Add go-github-com-getlantern-errors.
Date: Wed, 9 Jun 2021 13:00:06 -0400

* gnu/packages/golang.scm (go-github-com-getlantern-errors): New variable.
---
 gnu/packages/golang.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0bd8792c10..4886a0d326 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,39 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-getlantern-errors
+  (package
+    (name "go-github-com-getlantern-errors")
+    (version "1.0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/getlantern/errors";)
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0ymz5nb9dplrim9sgfb523iqx1x08bxvbv9383ry2zbsfgqkc966"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/getlantern/errors"))
+    (native-inputs
+     `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+    (propagated-inputs
+     `(("go-github-com-getlantern-context"
+        ,go-github-com-getlantern-context)
+       ("go-github-com-getlantern-hidden"
+        ,go-github-com-getlantern-hidden)
+       ("go-github-com-getlantern-ops"
+        ,go-github-com-getlantern-ops)
+       ("go-github-com-go-stack-stack"
+        ,go-github-com-go-stack-stack)))
+    (home-page "https://github.com/getlantern/errors";)
+    (synopsis "Structured errors for Go")
+    (description "Structured errors for Go.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-go-stack-stack
   (package
     (name "go-github-com-go-stack-stack")
-- 
2.31.1






reply via email to

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