Subject: [bug#50537] [PATCH 03/27] gnu: Add ruby-countdownlatch.

From: Stephen Paul Weber <[email-masked]>
Date: Sat, 11 Sep 2021 22:05:08 -0500

* gnu/packages/ruby.scm (ruby-countdownlatch): New variable.
---
 gnu/packages/ruby.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 1eb6a0fb82..0b5aed4b37 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12554,3 +12554,25 @@ management, status tracking and reporting.")
     (home-page
       "https://github.com/benlangfeld/Niceogiri")
     (license license:expat)))
+
+(define-public ruby-countdownlatch
+  (package
+    (name "ruby-countdownlatch")
+    (version "1.0.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "countdownlatch" version))
+        (sha256
+          (base32
+            "1v6pbay6z07fp7yvnba1hmyacbicvmjndd8rn2h1b5rmpcb5s0j3"))))
+    (build-system ruby-build-system)
+    (synopsis
+      "Synchronization aid allowing threads to wait for operations in other threads")
+    (description
+      "This package provides a synchronization aid that allows one or more
+threads to wait until a set of operations being performed in other threads
+completes")
+    (home-page
+      "https://github.com/benlangfeld/countdownlatch")
+    (license license:expat)))
-- 
2.20.1