aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-03-01 16:42:45 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-03-28 22:22:06 -0400
commit451e6de1131eae7a072af9e32ecff533c1a2bd89 (patch)
tree8cc09fdfebfee19bb4bd42537fab9566af5ab135 /gnu
parentffb44f2cbc4633682b72402957b671327b0a28e9 (diff)
downloadguix-451e6de1131eae7a072af9e32ecff533c1a2bd89.tar.gz
guix-451e6de1131eae7a072af9e32ecff533c1a2bd89.zip
gnu: Add ruby-insist.
* gnu/packages/ruby.scm (ruby-insist): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ruby.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 84ecdf14db..4ed760cfd6 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -4102,6 +4102,29 @@ encoded form.")
(home-page "https://github.com/deepfryed/idn-ruby")
(license license:asl2.0)))
+(define-public ruby-insist
+ (package
+ (name "ruby-insist")
+ (version "1.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "insist" version))
+ (sha256
+ (base32
+ "0bw3bdwns14mapbgb8cbjmr0amvwz8y72gyclq04xp43wpp5jrvg"))))
+ (build-system ruby-build-system)
+ (arguments (list #:phases #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "ruby" "test/testing.rb")))))))
+ (synopsis "Testing tool for Ruby")
+ (description "This package provides a simple block-driven assertion
+library for both testing and for production code that attempts to make test
+definitions more readable.")
+ (home-page "https://github.com/jordansissel/ruby-insist/")
+ (license license:asl2.0)))
+
(define-public ruby-instantiator
(package
(name "ruby-instantiator")