gnu: Add go-github-com-lestrrat-go-strftime.
* gnu/packages/golang-xyz.scm (go-github-com-lestrrat-go-strftime): New variable. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Change-Id: I8f4fcc42608357c409dc38e63c1b2b1d3083b268master
parent
4d1079b9c9
commit
152b636f88
|
@ -1685,6 +1685,42 @@ or during the tests temporarily change the value of an environment variable in
|
||||||
Golang.")
|
Golang.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public go-github-com-lestrrat-go-strftime
|
||||||
|
(package
|
||||||
|
(name "go-github-com-lestrrat-go-strftime")
|
||||||
|
(version "1.0.6")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/lestrrat-go/strftime")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "1iqzxmj3ijldjf99acy44qrrzvfxzn0vza3m0c9bw46bg8v1wsyc"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:import-path "github.com/lestrrat-go/strftime"
|
||||||
|
#:phases #~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'remove-benchmarks
|
||||||
|
(lambda* (#:key import-path #:allow-other-keys)
|
||||||
|
(delete-file-recursively
|
||||||
|
(string-append "src/" import-path "/bench")))))))
|
||||||
|
(native-inputs
|
||||||
|
(list go-github-com-stretchr-testify))
|
||||||
|
(propagated-inputs
|
||||||
|
(list go-github-com-pkg-errors
|
||||||
|
go-github-com-lestrrat-go-envload))
|
||||||
|
(home-page "https://github.com/lestrrat-go/strftime")
|
||||||
|
(synopsis "Strftime for Golang")
|
||||||
|
(description
|
||||||
|
"This package provides a Golang library implementing the conversion of
|
||||||
|
date and time information from a given calendar time to a character string
|
||||||
|
according to a format string. It is optimized for scenarios where the same
|
||||||
|
pattern is called repeatedly.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public go-github-com-lib-pq
|
(define-public go-github-com-lib-pq
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-lib-pq")
|
(name "go-github-com-lib-pq")
|
||||||
|
|
Reference in New Issue