summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-07-08 21:47:44 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-07-08 21:47:44 -0400
commitf357462426584d5d6ffb0cc7ea60243577bf246c (patch)
tree15ffe9142f8346f35c190a48c5cf48d3c9a47a41
parent6516827e131780c0b20c2df10c436eb034586e01 (diff)
gnu: Add ruby-cucumber-html-formatter.
* gnu/packages/ruby.scm (ruby-cucumber-html-formatter): New variable.
-rw-r--r--gnu/packages/ruby.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 2b56937906..4eda0d17fe 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -6615,6 +6615,36 @@ system-specific @code{Meta} messages for Cucumber Ruby.")
(home-page "https://github.com/cucumber/cucumber/tree/master/create-meta/ruby")
(license license:expat)))
+(define-public ruby-cucumber-html-formatter
+ (package
+ (name "ruby-cucumber-html-formatter")
+ (version "7.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "cucumber-html-formatter" version))
+ (sha256
+ (base32
+ "0lshj4sw9jw7687wrhknyb9kffblai3l843zgrznyqij3ga0bc62"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (invoke "rspec"))))))
+ (native-inputs
+ `(("ruby-rspec" ,ruby-rspec)))
+ (propagated-inputs
+ `(("ruby-cucumber-messages" ,ruby-cucumber-messages)))
+ (synopsis "HTML formatter for Cucumber")
+ (description "Cucumber HTML Formatter produces a HTML report for Cucumber
+runs. It is built on top of cucumber-react and works with any Cucumber
+implementation with a protocol buffer formatter that outputs Cucumber
+messages.")
+ (home-page "https://github.com/cucumber/cucumber/tree/\
+master/html-formatter/ruby")
+ (license license:expat)))
+
(define-public ruby-cucumber
(package
(name "ruby-cucumber")