From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55808) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIZwx-0005en-7B for guix-patches@gnu.org; Tue, 15 May 2018 09:25:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fIZws-0002fa-PK for guix-patches@gnu.org; Tue, 15 May 2018 09:25:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55548) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fIZws-0002fU-Lm for guix-patches@gnu.org; Tue, 15 May 2018 09:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fIZws-0001cT-G4 for guix-patches@gnu.org; Tue, 15 May 2018 09:25:02 -0400 Subject: [bug#31463] [PATCH 4/6] gnu: Add go-github-com-jpillora-backoff. References: <20180515130920.850-1-pierre-antoine.rouby@inria.fr> In-Reply-To: <20180515130920.850-1-pierre-antoine.rouby@inria.fr> Resent-Message-ID: From: Rouby Pierre-Antoine Date: Tue, 15 May 2018 15:24:42 +0200 Message-Id: <20180515132442.1059-1-pierre-antoine.rouby@inria.fr> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 31463@debbugs.gnu.org Cc: Rouby Pierre-Antoine * gnu/packages/golang.scm (go-github-com-jpillora-backoff): New variable. --- gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 32c726ece..37c31fab3 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -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)))) -- 2.17.0