mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: ruby-range-compressor: Update to 1.2.0.
* gnu/packages/ruby.scm (ruby-range-compressor): Update to 1.2.0. [arguments]: Update style.
This commit is contained in:
parent
04e5318eac
commit
1abf7f6556
1 changed files with 11 additions and 10 deletions
|
@ -8471,7 +8471,7 @@ (define-public ruby-character-set
|
|||
(define-public ruby-range-compressor
|
||||
(package
|
||||
(name "ruby-range-compressor")
|
||||
(version "1.0.0")
|
||||
(version "1.2.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
|
@ -8481,17 +8481,18 @@ (define-public ruby-range-compressor
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0y8slri2msyyg2szgwgriqd6qw9hkxycssdrcl5lk2dbcq5zvn54"))))
|
||||
"1zmc44si5ac2h7r1x4f1j8z5yr6wz528c7dssh0g70fmczs3pfga"))))
|
||||
(build-system ruby-build-system)
|
||||
(arguments
|
||||
`(#:test-target "spec"
|
||||
#:phases (modify-phases %standard-phases
|
||||
(add-after 'extract-gemspec 'strip-version-requirements
|
||||
(lambda _
|
||||
(substitute* "range_compressor.gemspec"
|
||||
(("(.*add_.*dependency '[_A-Za-z0-9-]+').*" _ stripped)
|
||||
(string-append stripped "\n")))
|
||||
#t)))))
|
||||
(list
|
||||
#:test-target "spec"
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'extract-gemspec 'strip-version-requirements
|
||||
(lambda _
|
||||
(substitute* "range_compressor.gemspec"
|
||||
(("(.*add_.*dependency '[_A-Za-z0-9-]+').*" _ stripped)
|
||||
(string-append stripped "\n"))))))))
|
||||
(native-inputs
|
||||
(list ruby-rspec))
|
||||
(synopsis "Simple arrays of objects to arrays of ranges compressor")
|
||||
|
|
Loading…
Reference in a new issue