From 7b66a2e6aacc4ddfc9719393bc83ea5b2feee5ce Mon Sep 17 00:00:00 2001 From: Arthur Rodrigues Date: Sun, 26 Oct 2025 00:35:19 +0000 Subject: [PATCH] gnu: Add go-resenje-org-singleflight. * gnu/packages/golang-xyz.scm (go-resenje-org-singleflight): New variable. Change-Id: Ic0e23321565f8b38e3b8572afece2efbbc157d84 Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index bb23bb939d..74cf900519 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -25767,6 +25767,30 @@ package.") ;; License type does latterly says it' "UNLICENSE". (license license:unlicense))) +(define-public go-resenje-org-singleflight + (package + (name "go-resenje-org-singleflight") + (version "0.4.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/janos/singleflight") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0by4pj1kvqjdv73p420mmj7787rdr2rzzzpg80gnj394i07m8gfq")))) + (build-system go-build-system) + (arguments + (list + #:import-path "resenje.org/singleflight")) + (home-page "https://github.com/janos/singleflight") + (synopsis "Duplicate function call suppression mechanism for Golang") + (description + "This package provides a duplicate function call suppression mechanism +with support for context cancellation.") + (license license:bsd-3))) + (define-public go-rsc-io-binaryregexp (package (name "go-rsc-io-binaryregexp")