gnu: Add ruby-cucumber-create-meta.

* gnu/packages/ruby.scm (ruby-cucumber-create-meta): New variable.
This commit is contained in:
Maxim Cournoyer 2020-07-08 14:01:05 -04:00
parent fd6577b4e5
commit ac3ec612c3
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -6581,6 +6581,40 @@ (define-public ruby-sys-uname
(home-page "https://github.com/djberg96/sys-uname")
(license license:asl2.0)))
(define-public ruby-cucumber-create-meta
(package
(name "ruby-cucumber-create-meta")
(version "1.0.0")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "cucumber-create-meta" version))
(sha256
(base32
"0i0i3arymjrnjk72mg79w1a11607x4d0lrqafm9sz2gq9l52zasw"))))
(build-system ruby-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(add-after 'extract-gemspec 'relax-version-requirements
(lambda _
(substitute* ".gemspec"
((" 12\\.2")
" 12.1"))
#t))
(replace 'check
(lambda _
(invoke "rspec"))))))
(native-inputs
`(("ruby-rspec" ,ruby-rspec)))
(propagated-inputs
`(("ruby-cucumber-messages" ,ruby-cucumber-messages)
("ruby-sys-uname" ,ruby-sys-uname)))
(synopsis "Function to create @code{Meta} messages for Cucumber Ruby")
(description "The @code{createMeta} utility function allows generating
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
(package
(name "ruby-cucumber")