guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 64c47fbf7ffed8503647e86302c8781f7822ded3
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Nov 8 20:46:54 2026 +0000

    gnu: Add go-github-com-sony-gobreaker-v2.
    
    * gnu/packages/golang-xyz.scm (go-github-com-sony-gobreaker-v2): New 
variable.
---
 gnu/packages/golang-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 995c55b319d..c2729407fc0 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -30550,6 +30550,28 @@ Use waterutil with it to work with TUN/TAP 
packets/frames.")
 pattern}.")
     (license license:expat)))
 
+(define-public go-github-com-sony-gobreaker-v2
+  (package
+    (inherit go-github-com-sony-gobreaker)
+    (name "go-github-com-sony-gobreaker-v2")
+    (version "2.4.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/sony/gobreaker";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0zzfslnwm8c5sv3wgcjjk42dzfk74r8zdq5v820c1cwc55ag74c0"))
+       (snippet
+        #~(begin (use-modules (guix build utils))
+                 (delete-file-recursively "v2/redis")
+                 (delete-file-recursively "v2/example")))))
+    (arguments
+     (list #:import-path "github.com/sony/gobreaker/v2"
+           #:unpack-path "github.com/sony/gobreaker"))))
+
 (define-public go-github-com-sosodev-duration
   (package
     (name "go-github-com-sosodev-duration")

Reply via email to