guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/06: gnu: go-github-com-avast-retry-go: Move to golang-xyz.


From: guix-commits
Subject: 04/06: gnu: go-github-com-avast-retry-go: Move to golang-xyz.
Date: Sat, 27 Jul 2024 05:07:42 -0400 (EDT)

sharlatan pushed a commit to branch go-team
in repository guix.

commit 0b00161f90d99c890e9f333267addd33a68a2077
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Jul 27 09:59:34 2024 +0100

    gnu: go-github-com-avast-retry-go: Move to golang-xyz.
    
    * gnu/packages/golang.scm (go-github-com-avast-retry-go): Move from here ...
    * gnu/packages/golang-xyz.scm: ... to here.
    
    Change-Id: Ie6d53537689aea9454e9fc07958d162f323b1f2a
---
 gnu/packages/golang-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 gnu/packages/golang.scm     | 31 -------------------------------
 2 files changed, 32 insertions(+), 31 deletions(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 00c89761e3..4358569d53 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -825,6 +825,38 @@ for generating command line clients for your application 
configuration that is
 stored in a Go struct.")
     (license license:mpl2.0)))
 
+(define-public go-github-com-avast-retry-go
+  (package
+    (name "go-github-com-avast-retry-go")
+    (version "2.7.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 "0zkn8c2gyz8j90bf0aj6avfl3sf7j4rk5g4ak4yhglnsx72jdhbz"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/avast/retry-go"
+      #: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")))))))
+    (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-aymanbagabas-go-osc52-v2
   (package
     (name "go-github-com-aymanbagabas-go-osc52-v2")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a5fb3591ac..5423cf3531 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1123,37 +1123,6 @@ cluster segmentation algorithm.")
      '(#: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
-    (package
-      (name "go-github-com-avast-retry-go")
-      (version "2.7.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 "0zkn8c2gyz8j90bf0aj6avfl3sf7j4rk5g4ak4yhglnsx72jdhbz"))))
-      (build-system go-build-system)
-      (arguments
-       (list
-        #:import-path "github.com/avast/retry-go"
-        #: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")))))))
-      (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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]