diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-07-27 10:06:47 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-07-27 10:07:02 +0100 |
commit | 33c4ad85c4ad38ad576004b66b4d8a2bd04ef0dc (patch) | |
tree | b51712e660136ec6456f6af6c16c822961894679 /gnu | |
parent | b4b875d4a0ae02f5f1ba2b3b96d76ccfe31b5340 (diff) | |
download | guix-33c4ad85c4ad38ad576004b66b4d8a2bd04ef0dc.tar guix-33c4ad85c4ad38ad576004b66b4d8a2bd04ef0dc.tar.gz |
gnu: Add go-github-com-avast-retry-go-v4.
* gnu/packages/golang-xyz.scm (go-github-com-avast-retry-go-v4): New variable.
Change-Id: If1463e2f9851ce22c2adb804ea8ed4abaf597bcc
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/golang-xyz.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index fe2ea055de..144941c31b 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -886,6 +886,30 @@ strategies, such as fixed delay, backoff delay, and random delay.") (delete-file-recursively (string-append "src/" import-path "/examples"))))))))) +(define-public go-github-com-avast-retry-go-v4 + (package + (inherit go-github-com-avast-retry-go) + (name "go-github-com-avast-retry-go-v4") + (version "4.6.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/avast/retry-go") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "09gs4wmkq7ragyf2xd0h6j8f9xqq66cwa95kwp5qdwz3wwv9xq1b")))) + (arguments + (list + #:import-path "github.com/avast/retry-go/v4" + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-examples + (lambda* (#:key import-path #:allow-other-keys) + (delete-file-recursively + (string-append "src/" import-path "/examples"))))))))) + (define-public go-github-com-aymanbagabas-go-osc52-v2 (package (name "go-github-com-aymanbagabas-go-osc52-v2") |