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:
Sharlatan Hellseher 2024-07-27 10:06:47 +01:00
parent b4b875d4a0
commit 33c4ad85c4
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -886,6 +886,30 @@ (define-public go-github-com-avast-retry-go-v3
(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")