diff options
| author | Yan Abu Arab <yanabuarab@gmail.com> | 2025-12-20 00:35:58 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-08-23 18:16:05 +0200 |
| commit | 931aabf176ae95f83baa9b220a21638a7fb5aae2 (patch) | |
| tree | e242dc215dec2bdb40485a8233b885ad6cdff595 /gnu | |
| parent | d86fb9c29270606f944f73978d122ddf10faa86b (diff) | |
gnu: Add ruby-docopt-ng.
* gnu/packages/ruby-xyz (ruby-docopt-ng): New variable.
Change-Id: I630bae2f85829df393e45d01679535ff1331bd41
Signed-off-by: Steve George <steve@futurile.net>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/ruby-xyz.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm index b5e7798e759..4679e85e004 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 | |||
| 184 | elegant API.") | 184 | elegant API.") |
| 185 | (license license:expat))) | 185 | (license license:expat))) |
| 186 | 186 | ||
| 187 | (define-public ruby-docopt-ng | ||
| 188 | (package | ||
| 189 | (name "ruby-docopt-ng") | ||
| 190 | (version "0.7.1") | ||
| 191 | (source | ||
| 192 | (origin | ||
| 193 | (method url-fetch) | ||
| 194 | (uri (rubygems-uri "docopt_ng" version)) | ||
| 195 | (sha256 | ||
| 196 | (base32 "0rsnl5s7k2s1gl4n4dg68ssg577kf11sl4a4l2lb2fpswj718950")))) | ||
| 197 | (build-system ruby-build-system) | ||
| 198 | (arguments | ||
| 199 | (list | ||
| 200 | #:phases | ||
| 201 | #~(modify-phases %standard-phases | ||
| 202 | (replace 'check | ||
| 203 | (lambda _ | ||
| 204 | (invoke "rspec" "-c" "spec")))))) | ||
| 205 | (native-inputs (list ruby-rspec)) | ||
| 206 | (synopsis | ||
| 207 | "The Ruby port of Docopt, the option parser written originally in Python") | ||
| 208 | (description | ||
| 209 | "Parse command line arguments from nothing more than a usage message.") | ||
| 210 | (home-page "https://docopt.org/") | ||
| 211 | (license license:expat))) | ||
| 212 | |||
| 187 | (define-public ruby-highline | 213 | (define-public ruby-highline |
| 188 | (package | 214 | (package |
| 189 | (name "ruby-highline") | 215 | (name "ruby-highline") |
