gnu: Add go-github-com-alecthomas-repr.

* gnu/packages/golang.scm (go-github-com-alecthomas-repr): New variable.
This commit is contained in:
Oleg Pykhalov 2020-08-08 23:36:31 +03:00
parent 1a53f5b998
commit 9b363021e9
No known key found for this signature in database
GPG key ID: 167F8EA5001AFA9C

View file

@ -4545,3 +4545,29 @@ (define-public go-github-com-alecthomas-colour
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))))