diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-03-06 15:11:48 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-03-28 22:22:13 -0400 |
commit | 6c9a9e823e2e8bde3d967b24e9b0bc1df27c86e7 (patch) | |
tree | a53f2b14ea8732cab6de412ff7b949af68950c6f | |
parent | 660f9729a695b2ff581279a9a1b3ab8120748245 (diff) | |
download | guix-patches-6c9a9e823e2e8bde3d967b24e9b0bc1df27c86e7.tar guix-patches-6c9a9e823e2e8bde3d967b24e9b0bc1df27c86e7.tar.gz |
gnu: Add ruby-cucumber-compatibility-kit.
* gnu/packages/ruby.scm (ruby-cucumber-compatibility-kit): New variable.
(ruby-cucumber-compatibility-kit-bootstrap): Likewise.
-rw-r--r-- | gnu/packages/ruby.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 61cfd52a12..d6bd371bfb 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7958,6 +7958,37 @@ Profiling multiple threads simultaneously is supported. (home-page "https://github.com/SamSaffron/memory_profiler") (license license:expat))) +(define-public ruby-cucumber-compatibility-kit + (package + (name "ruby-cucumber-compatibility-kit") + (version "11.2.0") + (source (origin + (method url-fetch) + (uri (rubygems-uri "cucumber-compatibility-kit" version)) + (sha256 + (base32 + "17c8zx0yn68rcpfbw4nb1gzvh9fzpwsi1y0qivb99ahdlgzcdp8q")))) + (build-system ruby-build-system) + (arguments (list #:phases #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "rspec"))))))) + (propagated-inputs (list ruby-cucumber-messages ruby-rake ruby-rspec)) + (synopsis "Cucumber compatibility verification utility") + (description "The Cucumber Compatibility Kit (CCK) aims to validate a +Cucumber implementation's support for the Cucumber Messages protocol.") + (home-page "https://github.com/cucumber/compatibility-kit") + (license license:expat))) + +;;; Variant package to break a cycle with ruby-cucumber-messages. +(define ruby-cucumber-compatibility-kit-bootstrap + (package/inherit ruby-cucumber-compatibility-kit + (arguments (list #:tests? #f)) + (propagated-inputs (modify-inputs (package-propagated-inputs + ruby-cucumber-compatibility-kit) + (delete "ruby-cucumber-messages"))))) + (define-public ruby-cucumber-messages (package (name "ruby-cucumber-messages") |