gnu: Add go-github-com-xhit-go-str2duration-v2.
* gnu/packages/golang-xyz.scm (go-github-com-xhit-go-str2duration-v2): New variable. Change-Id: I30425e498db6dd8cb736eedffe006346973628ed
This commit is contained in:
parent
5ad619e0dc
commit
81a417aa3e
1 changed files with 25 additions and 0 deletions
|
@ -2063,6 +2063,31 @@ (define-public go-github-com-whyrusleeping-go-sysinfo
|
|||
@code{MemoryInfo}.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public go-github-com-xhit-go-str2duration-v2
|
||||
(package
|
||||
(name "go-github-com-xhit-go-str2duration-v2")
|
||||
(version "2.1.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/xhit/go-str2duration")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1c9zi9mfy5ww413y1jpfh1rdis43lvd5v6gvajqzh4q1km9lyxjj"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:import-path "github.com/xhit/go-str2duration/v2"))
|
||||
(home-page "https://github.com/xhit/go-str2duration")
|
||||
(synopsis "Convert string to duration in golang")
|
||||
(description
|
||||
"This package provides a means to obtain @code{time.Duration} from a
|
||||
string. The string can be a string retorned for @code{time.Duration} or a
|
||||
similar string with weeks or days too.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public go-go-uber-org-automaxprocs
|
||||
(package
|
||||
(name "go-go-uber-org-automaxprocs")
|
||||
|
|
Loading…
Reference in a new issue