mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: Add go-gopkg.in-tomb.v2.
* gnu/packages/golang.scm (go-gopkg.in-tomb.v2): New variable.
This commit is contained in:
parent
5807172300
commit
210c6d959d
1 changed files with 25 additions and 0 deletions
|
@ -471,3 +471,28 @@ (define-public go-github.com-jessevdk-go-flags
|
||||||
way of specifying command line options.")
|
way of specifying command line options.")
|
||||||
(home-page "https://github.com/jessevdk/go-flags")
|
(home-page "https://github.com/jessevdk/go-flags")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
|
(define-public go-gopkg.in-tomb.v2
|
||||||
|
(let ((commit "d5d1b5820637886def9eef33e03a27a9f166942c")
|
||||||
|
(revision "0"))
|
||||||
|
(package
|
||||||
|
(name "go-gopkg.in-tomb.v2")
|
||||||
|
(version (string-append "0.0.0-" revision "." (string-take commit 7)))
|
||||||
|
(source (origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/go-tomb/tomb.git")
|
||||||
|
(commit commit)))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1sv15sri99szkdz1bkh0ir46w9n8prrwx5hfai13nrhkawfyfy10"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:import-path "gopkg.in/tomb.v2"))
|
||||||
|
(synopsis "@code{tomb} handles clean goroutine tracking and termination")
|
||||||
|
(description
|
||||||
|
"The @code{tomb} package handles clean goroutine tracking and
|
||||||
|
termination.")
|
||||||
|
(home-page "https://gopkg.in/tomb.v2")
|
||||||
|
(license license:bsd-3))))
|
||||||
|
|
Loading…
Reference in a new issue