aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-07-13 23:28:19 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-07-17 23:01:29 -0400
commit906b9a141abbac5d5da2b12c3dc4777f44ed033c (patch)
tree5820e632e4096e4e7ff8aeaf7809a803cdd4fbd5 /gnu
parent818b402cc55ff02ed3563c4f2f9dbaf2ecde79f1 (diff)
downloadguix-906b9a141abbac5d5da2b12c3dc4777f44ed033c.tar
guix-906b9a141abbac5d5da2b12c3dc4777f44ed033c.tar.gz
gnu: Add ruby-given-core.
* gnu/packages/ruby.scm (ruby-given-core): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ruby.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 0b40a6fa5f..d48bb054cf 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -651,6 +651,28 @@ re-sourced, but they will be rendered in a single line format.")
(home-page "https://github.com/rspec-given/sorcerer")
(license license:expat)))
+(define-public ruby-given-core
+ (package
+ (name "ruby-given-core")
+ (version "3.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "given_core" version))
+ (sha256
+ (base32
+ "1lzyqllbbv6as3qgwz2007mvy7wy247bgkch9adnmh1zfa73bkrg"))))
+ (build-system ruby-build-system)
+ (arguments '(#:tests? #f)) ;no test suite for the core package
+ (propagated-inputs
+ `(("ruby-sorcerer" ,ruby-sorcerer)))
+ (synopsis "Core abstractions used by rspec-given and minitest-given")
+ (description "Given_core is the basic functionality behind rspec-given and
+minitest-given, extensions that allow the use of Given/When/Then terminology
+when defining specifications.")
+ (home-page "https://github.com/rspec-given/rspec-given")
+ (license license:expat)))
+
(define-public ruby-rspec-its
(package
(name "ruby-rspec-its")