guix-commits
[Top][All Lists]
Advanced

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

12/60: gnu: Add go-github-com-alecthomas-repr.


From: guix-commits
Subject: 12/60: gnu: Add go-github-com-alecthomas-repr.
Date: Sun, 9 Aug 2020 10:24:53 -0400 (EDT)

wigust pushed a commit to branch master
in repository guix.

commit 9b363021e948057168a714e233e874881ffdda7f
Author: Oleg Pykhalov <go.wigust@gmail.com>
AuthorDate: Sat Aug 8 23:36:31 2020 +0300

    gnu: Add go-github-com-alecthomas-repr.
    
    * gnu/packages/golang.scm (go-github-com-alecthomas-repr): New variable.
---
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d7be3f5..d3e834f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4545,3 +4545,29 @@ The package level functions can be used to write to 
stdout (or strings or
 other files).  If stdout is not a terminal, colour formatting will be
 stripped.")
     (license license:expat)))
+
+(define-public go-github-com-alecthomas-repr
+  (let ((commit "4184120f674c8860a5b48142509a2411a0a1766f")
+        (revision "1"))
+    (package
+      (name "go-github-com-alecthomas-repr")
+      (version (git-version "0.0.1" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/alecthomas/repr";)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1z0gdkjryxg1ps5fh4ybzip27g9lzdldz4hxqp5j7s2frbzaa9s7"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/alecthomas/repr"))
+      (native-inputs
+       `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+      (home-page "https://github.com/alecthomas/repr/";)
+      (synopsis "Represent Go values in an almost direct form")
+      (description "This package attempts to represent Go values in a form that
+can be used almost directly in Go source code.")
+      (license license:expat))))



reply via email to

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