diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-03-17 23:34:18 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-03-28 22:22:49 -0400 |
commit | a911dbbdc7896153fc87093465690e54011d78c1 (patch) | |
tree | 47cdd4ebf15c5804ce87539463c1af902c75507e /gnu | |
parent | 4688809ab4f68fe0423b18b922ca33418d832b0f (diff) | |
download | guix-a911dbbdc7896153fc87093465690e54011d78c1.tar guix-a911dbbdc7896153fc87093465690e54011d78c1.tar.gz |
gnu: Add ruby-truthy.
* gnu/packages/ruby.scm (ruby-truthy): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/ruby.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index e6d1ca4490..60be5c4932 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -14219,6 +14219,32 @@ and stability, (home-page "https://github.com/macournoyer/thin") (license license:ruby))) +(define-public ruby-truthy + (package + (name "ruby-truthy") + (version "1.0.0") + (source (origin + (method url-fetch) + (uri (rubygems-uri "truthy" version)) + (sha256 + (base32 + "19silgd65j3qwfk5w891p9wcmzdmi9ddm2kg5zbvvqn2h9lkfzmd")))) + (build-system ruby-build-system) + (arguments (list #:phases #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (substitute* "spec/spec_helper.rb" + (("require 'spec'") + "require 'rspec'")) + (invoke "rspec"))))))) + (native-inputs (list ruby-rspec)) + (synopsis "Object truthiness-related Ruby library") + (description "This library makes it easier to discover the truth values of +various Ruby objects.") + (home-page "https://github.com/ymendel/truthy") + (license license:expat))) + (define-public ruby-skinny (package (name "ruby-skinny") |