summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Rodrigues <arthurhdrodrigues@proton.me>2025-10-26 00:35:19 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-09 09:10:04 +0000
commit7b66a2e6aacc4ddfc9719393bc83ea5b2feee5ce (patch)
tree851b4a242086dacf9c18fcde5333f022e7b84a5b
parentbd7be45d598af974c0edbff2429c6660c97fdc01 (diff)
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 <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/golang-xyz.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index bb23bb939d1..74cf9005190 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")