mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-27 20:50:34 +02:00
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
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user