Browse Source

gnu: Add ruby-cucumber-create-meta.

* gnu/packages/ruby.scm (ruby-cucumber-create-meta): New variable.
wip-haskell-updates-2
Maxim Cournoyer 2 years ago
parent
commit
ac3ec612c3
No known key found for this signature in database GPG Key ID: 1260E46482E63562
  1. 34
      gnu/packages/ruby.scm

34
gnu/packages/ruby.scm

@ -6581,6 +6581,40 @@ such as the OS name, OS version, system name, etc.")
(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")

Loading…
Cancel
Save