gnu: Add go-github-com-jpillora-backoff.

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Rouby Pierre-Antoine 2018-05-15 15:24:42 +02:00 committed by Ludovic Courtès
parent 0972411a57
commit c4230cda09
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 26 additions and 0 deletions

View File

@ -1385,3 +1385,29 @@ constraints, and verifying versions against a set of constraints. It can sort
a collection of versions properly, handles prerelease/beta versions, can
increment versions.")
(license license:mpl2.0))))
(define-public go-github-com-jpillora-backoff
(let ((commit
"06c7a16c845dc8e0bf575fafeeca0f5462f5eb4d")
(revision "0"))
(package
(name "go-github-com-jpillora-backoff")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/jpillora/backoff.git")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"0xhvxr7bm47czdc5hy3kl508z3y4j91i2jm7vg774i52zych6k4l"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/jpillora/backoff"))
(home-page "https://github.com/jpillora/backoff")
(synopsis "Simple exponential backoff counter in Go")
(description "This package is a simple exponential backoff counter in
Go.")
(license license:expat))))