From f842ab680d4bb87f0740c5f42fcd2dbfea0bd841 Mon Sep 17 00:00:00 2001 From: Patrick Norton Date: Mon, 24 Nov 2025 16:45:04 -0500 Subject: [PATCH] gnu: Add go-github-com-sony-gobreaker. * gnu/packages/golang-xyz.scm (go-github-com-sony-gobreaker): New variable. Change-Id: Ie29526154fe11ba40380994143070446c76ff44d Modified-by: Sharlatan Hellseher Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 0b7c8a9b75e3646794ced62e2b3cbf59a8aa0551..07ee517914129be929247b89cc43e2ae09eea058 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -21000,6 +21000,35 @@ Use waterutil with it to work with TUN/TAP packets/frames.") "Quant provides an interface for image color quantizers.") (license license:expat))) +(define-public go-github-com-sony-gobreaker + (package + (name "go-github-com-sony-gobreaker") + (version "1.0.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 "0ghqsyb98q76drh6kx5pnmaynijxhp3wkbwq8y07z37zq3maggww")))) + (build-system go-build-system) + (arguments + (list + ;; non-constant format string in call to fmt.Errorf + #:test-flags + #~(list "-vet=off") + #:import-path "github.com/sony/gobreaker")) + (native-inputs (list go-github-com-stretchr-testify)) + (home-page "https://github.com/sony/gobreaker") + (synopsis "Circuit Breaker implemented in Golang") + (description + "Package gobreaker implements the +@url{https://msdn.microsoft.com/en-us/library/dn589784.aspx, Circuit Breaker +pattern}.") + (license license:expat))) + (define-public go-github-com-sosodev-duration (package (name "go-github-com-sosodev-duration")