gnu: ruby-ast: Adjust to newer ruby-rake version.
* gnu/packages/ruby.sm (ruby-ast)[arguments]: Adjust the gemspec file to allow for newer versions of ruby-rake.
This commit is contained in:
parent
28dd51eefb
commit
878124a805
1 changed files with 3 additions and 2 deletions
|
@ -1958,12 +1958,13 @@ (define-public ruby-ast
|
|||
(("Coveralls::SimpleCov::Formatter") ""))
|
||||
#t))
|
||||
(add-after 'extract-gemspec 'remove-unnecessary-requirements
|
||||
(lambda _
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "ast.gemspec"
|
||||
((".*coveralls.*") "\n")
|
||||
(("%q<rest-client>.*") "%q<rest-client>.freeze, [\">= 0\"])\n")
|
||||
(("%q<mime-types>.*") "%q<mime-types>.freeze, [\">= 0\"])\n")
|
||||
(("%q<rake>.*") "%q<rake>.freeze, [\">= 0\"])\n"))
|
||||
(("%q<rake>.*") "%q<rake>.freeze, [\">= 0\"])\n")
|
||||
(("12\\.3") "13.0"))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("bundler" ,bundler)
|
||||
|
|
Loading…
Reference in a new issue