[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/229: gnu: Add ruby-clamp.
From: |
guix-commits |
Subject: |
02/229: gnu: Add ruby-clamp. |
Date: |
Tue, 28 Mar 2023 22:28:43 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 166c88c97f76e0dd7a05a6c0f9fb735df004cecf
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Mar 1 16:15:12 2023 -0500
gnu: Add ruby-clamp.
* gnu/packages/ruby.scm (ruby-clamp): New variable.
---
gnu/packages/ruby.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 2fdac01841..b55e1c7b7a 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -2088,6 +2088,34 @@ code in Merb and Rails.")
(home-page "https://github.com/jnunemaker/crack")
(license license:expat)))
+(define-public ruby-clamp
+ (package
+ (name "ruby-clamp")
+ (version "1.3.2")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "clamp" version))
+ (sha256
+ (base32
+ "08m0syh06bhx8dqn560ivjg96l5cs5s3l9jh2szsnlcdcyl9jsjg"))))
+ (build-system ruby-build-system)
+ (arguments
+ (list #:test-target "spec"
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'do-not-require-rubocop
+ (lambda _
+ (substitute* "Rakefile"
+ (("require \"rubocop/rake_task\"")
+ "")
+ (("RuboCop::RakeTask.new")
+ "")))))))
+ (native-inputs (list ruby-rspec))
+ (synopsis "Command-line parsing library for Ruby")
+ (description "Clamp provides an object-model for command-line utilities.
+It handles parsing of command-line options, and generation of usage help.")
+ (home-page "https://github.com/mdub/clamp")
+ (license license:expat)))
+
(define-public ruby-cliver
(package
(name "ruby-cliver")
- branch master updated (c4cca9cb5d -> d00f107507), guix-commits, 2023/03/28
- 05/229: gnu: ruby-standard: Update to 1.25.3, guix-commits, 2023/03/28
- 06/229: gnu: ruby-oedipus-lex: Update to 2.6.0., guix-commits, 2023/03/28
- 02/229: gnu: Add ruby-clamp.,
guix-commits <=
- 01/229: gnu: Add ruby-cabin., guix-commits, 2023/03/28
- 03/229: gnu: Add ruby-stud., guix-commits, 2023/03/28
- 04/229: gnu: Add ruby-insist., guix-commits, 2023/03/28
- 07/229: gnu: ruby-oedipus-lex: Fix indentation., guix-commits, 2023/03/28
- 11/229: gnu: ruby-unicode-display-width: Update to 2.4.2., guix-commits, 2023/03/28
- 12/229: gnu: Add ruby-rubocop-capybara-minimal., guix-commits, 2023/03/28
- 08/229: gnu: ruby-parser: Update to 3.2.1.1., guix-commits, 2023/03/28
- 09/229: gnu: ruby-rubocop-ast: Update to 1.28.0., guix-commits, 2023/03/28
- 10/229: gnu: Add ruby-rubocop-rake-minimal., guix-commits, 2023/03/28
- 18/229: gnu: ruby-rspec-expectations: Update to 3.12.2., guix-commits, 2023/03/28