diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-01-09 11:53:11 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-03-28 22:22:29 -0400 |
commit | c665ec7a23eed9a07deefb24e5f3aca0e8fe789a (patch) | |
tree | ae043ef00c1d8acdd9bb78348e9030c5d1c10e2e | |
parent | 159c9ee0efd5732621fd8596f5b413d6ca54578c (diff) |
gnu: Add ruby-samovar.
* gnu/packages/ruby.scm (ruby-samovar): New variable.
-rw-r--r-- | gnu/packages/ruby.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 0d89a47ec0..eb71b344f8 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -6881,6 +6881,30 @@ documents and fragments. It's built on top of Nokogiri and libxml2.") (define-public ruby-nokogumbo (deprecated-package "ruby-nokogumbo" ruby-nokogiri)) +(define-public ruby-samovar + (package + (name "ruby-samovar") + (version "2.1.4") + (source (origin + (method git-fetch) ;for tests + (uri (git-reference + (url "https://github.com/ioquatix/samovar") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "05pc5xlbv44anx0sfqssh0xhxg297bvl5slsl7k1vnka4k5fhax6")))) + (build-system ruby-build-system) + (native-inputs (list ruby-covered ruby-rspec)) + (propagated-inputs (list ruby-console ruby-mapping)) + (synopsis "Flexible option parser for Ruby") + (description "Samovar is a modern framework for building command-line +tools and applications. It provides a declarative class-based DSL for +building command-line parsers that include automatic documentation generation. +It helps you keep your functionality clean and isolated where possible.") + (home-page "https://github.com/ioquatix/samovar") + (license license:expat))) + (define-public ruby-sanitize (package (name "ruby-sanitize") |