summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2019-03-13 16:17:17 -0400
committerLeo Famulari <leo@famulari.name>2019-03-14 15:34:28 -0400
commitaa413ff8f7b872ffffb94c152a46abc557d4b842 (patch)
tree13f9d07541c21edc4fc4cb2d6248d558a2dc2308 /gnu/packages
parent56f610f5c753d56f8c773252bd3c1f07a5c91442 (diff)
downloadpatches-aa413ff8f7b872ffffb94c152a46abc557d4b842.tar
patches-aa413ff8f7b872ffffb94c152a46abc557d4b842.tar.gz
gnu: Add go-github-com-kr-pretty.
* gnu/packages/golang.scm (go-github-com-kr-pretty): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/golang.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index cf162de854..5778fb8a89 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3105,6 +3105,29 @@ have super fancy logs.")
format in Go.")
(license license:expat))))
+(define-public go-github-com-kr-pretty
+ (package
+ (name "go-github-com-kr-pretty")
+ (version "0.1.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/kr/pretty.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "18m4pwg2abd0j9cn5v3k2ksk9ig4vlwxmlw9rrglanziv9l967qp"))))
+ (build-system go-build-system)
+ (propagated-inputs
+ `(("go-github-com-kr-text" ,go-github-com-kr-text)))
+ (arguments
+ '(#:import-path "github.com/kr/pretty"))
+ (synopsis "A pretty printer for Go values")
+ (description "This package provides a pretty printer for Go values.")
+ (home-page "https://github.com/kr/pretty")
+ (license license:expat)))
+
(define-public go-github-com-kr-text
(package
(name "go-github-com-kr-text")