[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#63017] [PATCH 02/24] gnu: Add go-github-com-avast-retry-go.
From: |
Nicolas Graves |
Subject: |
[bug#63017] [PATCH 02/24] gnu: Add go-github-com-avast-retry-go. |
Date: |
Sat, 22 Apr 2023 18:27:28 +0200 |
* gnu/packages/golang.scm (go-github-com-avast-retry-go): 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 11b30412fa..a1f85e207d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1081,6 +1081,32 @@ (define-public
go-github-com-apparentlymart-go-textseg-autoversion
'(#:unpack-path "github.com/apparentlymart/go-textseg/autoversion"
#:import-path
"github.com/apparentlymart/go-textseg/autoversion/textseg"))))
+(define-public go-github-com-avast-retry-go
+ (let ((commit "a322e24d96313ab405dec28ad5711f036c6d25a3")
+ (revision "0"))
+ (package
+ (name "go-github-com-avast-retry-go")
+ (version (git-version "2.4.2" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/avast/retry-go")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0hb4b1668516a4gv8avmflr565b6c1h93phdb068hcjxxj8767ba"))))
+ (build-system go-build-system)
+ (arguments `(#:import-path "github.com/avast/retry-go"))
+ (propagated-inputs (list go-github-com-stretchr-testify))
+ (home-page "https://github.com/avast/retry-go")
+ (synopsis "Simple golang library for retry mechanism")
+ (description "This package is a simple Go library that provides retry
+functionality for functions that may fail. It includes various customizable
+retry strategies, such as fixed delay, backoff delay, and random delay.")
+ (license license:expat))))
+
(define-public go-github-com-operatorfoundation-shapeshifter-transports
(package
(name "go-github-com-operatorfoundation-shapeshifter-transports")
--
2.39.2
- [bug#63017] [PATCH 0/25] gnu: git-lfs: Update to 3.3.0., Nicolas Graves, 2023/04/22
- [bug#63017] [PATCH 01/24] gnu: Add go-github-com-git-lfs-gitobj-v2., Nicolas Graves, 2023/04/22
- [bug#63017] [PATCH 02/24] gnu: Add go-github-com-avast-retry-go.,
Nicolas Graves <=
- [bug#63017] [PATCH 04/24] gnu: Add go-github-com-jcmturner-aescts-v2., Nicolas Graves, 2023/04/22
- [bug#63017] [PATCH 03/24] gnu: Add go-github-com-gorilla-sessions., Nicolas Graves, 2023/04/22
- [bug#63017] [PATCH 05/24] gnu: Add go-github-com-jcmturner-dnsutils-v2., Nicolas Graves, 2023/04/22
- [bug#63017] [PATCH 06/24] gnu: Add go-github-com-jcmturner-gofork., Nicolas Graves, 2023/04/22
- [bug#63017] [PATCH 08/24] gnu: Add go-github-com-jcmturner-goidentity-v6., Nicolas Graves, 2023/04/22
- [bug#63017] [PATCH 07/24] gnu: Add go-github-com-hashicorp-go-uuid., Nicolas Graves, 2023/04/22
- [bug#63017] [PATCH 09/24] gnu: Add go-github-com-jcmturner-rpc., Nicolas Graves, 2023/04/22
- [bug#63017] [PATCH 10/24] gnu: Add go-github-com-jcmturner-rpc-v2-ndr., Nicolas Graves, 2023/04/22
- [bug#63017] [PATCH 14/24] gnu: Add go-github-com-git-lfs-go-netrc., Nicolas Graves, 2023/04/22
- [bug#63017] [PATCH 11/24] gnu: Add go-github-com-jcmturner-rpc-v2-mstypes., Nicolas Graves, 2023/04/22