diff mbox series

[bug#48729,v3,30/47] gnu: Add go-github-com-go-stack-stack.

Message ID 20210608232204.18111-30-rg@raghavgururajan.name
State New
Headers show
Series None | expand

Commit Message

Raghav Gururajan June 8, 2021, 11:21 p.m. UTC
* gnu/packages/golang.scm (go-github-com-go-stack-stack): New variable.
---
 gnu/packages/golang.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b780b98d2b..0bd8792c10 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,29 @@ 
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-go-stack-stack
+  (package
+    (name "go-github-com-go-stack-stack")
+    (version "1.8.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/go-stack/stack")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0wk25751ryyvxclyp8jdk5c3ar0cmfr8lrjb66qbg4808x66b96v"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/go-stack/stack"))
+    (home-page "https://github.com/go-stack/stack")
+    (synopsis "Stack Utilities for Go")
+    (description "Stack implements utilities to capture, manipulate, and format
+call stacks.  It provides a simpler API than package runtime.")
+    (license license:expat)))
+
 (define-public go-github-com-getlantern-hidden
   (let ((commit "e66e7f8787308d0d5a87a2ebe170f19d43bece78")
         (revision "5"))