diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-03-06 16:27:59 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-03-28 22:22:15 -0400 |
commit | 519878b51d4c20768447cb077f46c1f5e3b7ddfd (patch) | |
tree | e3f52a0641a5d3b1da1776a88fa498d490c34a23 | |
parent | 1cb558d9810bf6ab460ef3eba75a855c505a4c38 (diff) |
gnu: Add ruby-cucumber-ci-environment.
* gnu/packages/ruby.scm (ruby-cucumber-ci-environment): New variable.
-rw-r--r-- | gnu/packages/ruby.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 6bd5b84185..5bd499d7ec 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -8233,6 +8233,29 @@ messages.") (home-page "https://github.com/cucumber/html-formatter") (license license:expat))) +(define-public ruby-cucumber-ci-environment + (package + (name "ruby-cucumber-ci-environment") + (version "9.1.0") + (source (origin + (method url-fetch) + (uri (rubygems-uri "cucumber-ci-environment" version)) + (sha256 + (base32 + "1nmn2hfrjlbazgcryr3hwvsa5v4csfbjqxb4q7wbjhaxl9xxn0k7")))) + (build-system ruby-build-system) + (arguments (list #:phases #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "rspec"))))))) + (native-inputs (list ruby-rspec)) + (synopsis "Detect CI Environment from environment variables") + (description "This is a Ruby utility library for Cucumber that detects a +CI environment from environment variables.") + (home-page "https://github.com/cucumber/ci-environment") + (license license:expat))) + (define-public ruby-cucumber (package (name "ruby-cucumber") |