guix_mirror_bot pushed a commit to branch ruby-team
in repository guix.

commit 86f902b2e1623155e3d95c8b0ceee734758f78ee
Author: Yan Abu Arab <[email protected]>
AuthorDate: Sat Dec 20 00:35:58 2025 +0200

    gnu: Add ruby-docopt-ng.
    
    * gnu/packages/ruby-xyz (ruby-docopt-ng): New variable.
    
    Change-Id: I630bae2f85829df393e45d01679535ff1331bd41
    Signed-off-by: Steve George <[email protected]>
---
 gnu/packages/ruby-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index cc51cc97fd..c035af342f 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -184,6 +184,32 @@ libraries (OptionParser, HighLine), while providing many 
new features, and an
 elegant API.")
     (license license:expat)))
 
+(define-public ruby-docopt-ng
+  (package
+    (name "ruby-docopt-ng")
+    (version "0.7.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "docopt_ng" version))
+       (sha256
+        (base32 "0rsnl5s7k2s1gl4n4dg68ssg577kf11sl4a4l2lb2fpswj718950"))))
+    (build-system ruby-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'check
+            (lambda _
+              (invoke "rspec" "-c" "spec"))))))
+    (native-inputs (list ruby-rspec))
+    (synopsis
+     "The Ruby port of Docopt, the option parser written originally in Python")
+    (description
+     "Parse command line arguments from nothing more than a usage message.")
+    (home-page "https://docopt.org/";)
+    (license license:expat)))
+
 (define-public ruby-highline
   (package
     (name "ruby-highline")

Reply via email to