me
/
guix
Archived
1
0
Fork 0

gnu: Add go-github-com-alecthomas-units

* gnu/packages/golang.scm (go-github-com-alecthomas-units): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
Collin J. Doering 2021-11-19 18:06:33 -05:00 committed by Ludovic Courtès
parent 0a15bc0397
commit da4b02ad3f
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 26 additions and 0 deletions

View File

@ -9098,3 +9098,29 @@ newlines until a non-newline.")
(home-page "https://github.com/alecthomas/template")
(license license:bsd-3))))
(define-public go-github-com-alecthomas-units
(let ((commit "2efee857e7cfd4f3d0138cc3cbb1b4966962b93a")
(revision "0"))
(package
(name "go-github-com-alecthomas-units")
(version "0.0.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/alecthomas/units")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"1j65b91qb9sbrml9cpabfrcf07wmgzzghrl7809hjjhrmbzri5bl"))))
(build-system go-build-system)
(native-inputs
(list go-github-com-stretchr-testify))
(arguments
'(#:import-path "github.com/alecthomas/units"
#:phases %standard-phases))
(synopsis "Helpful unit multipliers and functions for Go")
(description
"This library provides unit multipliers and functions for Go.")
(home-page "https://github.com/alecthomas/units")
(license license:expat))))