gnu: ruby-cucumber-tag-expressions: Update to 3.0.0.

* gnu/packages/ruby.scm (ruby-cucumber-tag-expressions): Update to 3.0.0.
[origin]: Fetch sources from git, to get the latest tag.
[arguments]: Use the 'spec' test target instead of using a custom phase.
[description]: Reformat.
This commit is contained in:
Maxim Cournoyer 2020-07-08 13:00:24 -04:00
parent 95a5d992de
commit 0d2c45ce75
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -6769,28 +6769,25 @@ (define-public ruby-cucumber-wire
(define-public ruby-cucumber-tag-expressions
(package
(name "ruby-cucumber-tag-expressions")
(version "1.1.1")
(version "3.0.0")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "cucumber-tag_expressions" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/cucumber/tag-expressions-ruby.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0cvmbljybws0qzjs1l67fvr9gqr005l8jk1ni5gcsis9pfmqh3vc"))))
"15dw4w0npd4m6aw7zhqkjxxzngp42kswrkwfygxkxcxnhy5zl1vx"))))
(build-system ruby-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(invoke "rspec")
#t)))))
`(#:test-target "spec"))
(native-inputs
`(("ruby-rspec" ,ruby-rspec)))
(synopsis "Cucumber tag expressions for Ruby")
(description
"Cucumber tag expression parser for Ruby. A tag expression is an infix
boolean expression used by Cucumber.")
(description "Cucumber tag expression parser for Ruby. A tag expression
is an infix boolean expression used by Cucumber.")
(home-page "https://github.com/cucumber/tag-expressions-ruby")
(license license:expat)))