me
/
guix
Archived
1
0
Fork 0

gnu: ruby-cucumber-wire: Update to 3.1.0.

* gnu/packages/ruby.scm (ruby-cucumber-wire): Update to 3.1.0.
[arguments]: Remove test-target, which is not used.
[phases]: Remove set-CUCUMBER_USE_RELEASED_GEMS and add
relax-version-requirements.
[native-inputs]: Remove.
[propagated-inputs]: Add ruby-cucumber-core, ruby-cucumber-expressions and
ruby-cucumber-messages.
[description]: Reformat.
master
Maxim Cournoyer 2020-07-08 15:04:46 -04:00
parent 4ada4a4294
commit 6516827e13
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 12 additions and 16 deletions

View File

@ -6793,35 +6793,31 @@ Expressions are extensible with parameter types.")
(define-public ruby-cucumber-wire (define-public ruby-cucumber-wire
(package (package
(name "ruby-cucumber-wire") (name "ruby-cucumber-wire")
;; Package version 0.0.1 initially, as this is what's needed by Cucumber (version "3.1.0")
;; 3, and Cucumber 4 hasn't been released yet.
(version "0.0.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (rubygems-uri "cucumber-wire" version)) (uri (rubygems-uri "cucumber-wire" version))
(sha256 (sha256
(base32 (base32
"09ymvqb0sbw2if1nxg8rcj33sf0va88ancq5nmp8g01dfwzwma2f")))) "0z1n13lqv70zb2lcrvs2263lm0gsb3gz8gbv890kxzwp8cvd433k"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments
'(;; TODO: Currently, the tests can't be run as cucumber is required, '(#:tests? #f ;tests use cucumber, causing a cycle
;; which would lead to a circular dependency.
#:tests? #f
#:test-target "default"
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'check 'set-CUCUMBER_USE_RELEASED_GEMS (add-after 'extract-gemspec 'relax-version-requirements
(lambda _ (lambda _
(setenv "CUCUMBER_USE_RELEASED_GEMS" "true") (substitute* ".gemspec"
((" 10\\.1") " 10.2"))
#t))))) #t)))))
(native-inputs (propagated-inputs
`(("bundler" ,bundler) `(("ruby-cucumber-core" ,ruby-cucumber-core)
("ruby-rspec" ,ruby-rspec))) ("ruby-cucumber-expressions" ,ruby-cucumber-expressions)
("ruby-cucumber-messages" ,ruby-cucumber-messages)))
(synopsis "Cucumber wire protocol plugin") (synopsis "Cucumber wire protocol plugin")
(description (description "Cucumber's wire protocol allows step definitions to be
"Cucumber's wire protocol allows step definitions to be implemented and implemented and invoked on any platform.")
invoked on any platform.")
(home-page "https://github.com/cucumber/cucumber-ruby-wire") (home-page "https://github.com/cucumber/cucumber-ruby-wire")
(license license:expat))) (license license:expat)))