mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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 @@ better performance than @code{Regexp} and @code{String} methods from the
|
||||||
(define-public ruby-range-compressor
|
(define-public ruby-range-compressor
|
||||||
(package
|
(package
|
||||||
(name "ruby-range-compressor")
|
(name "ruby-range-compressor")
|
||||||
(version "1.0.0")
|
(version "1.2.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -8481,17 +8481,18 @@ better performance than @code{Regexp} and @code{String} methods from the
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0y8slri2msyyg2szgwgriqd6qw9hkxycssdrcl5lk2dbcq5zvn54"))))
|
"1zmc44si5ac2h7r1x4f1j8z5yr6wz528c7dssh0g70fmczs3pfga"))))
|
||||||
(build-system ruby-build-system)
|
(build-system ruby-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:test-target "spec"
|
(list
|
||||||
#:phases (modify-phases %standard-phases
|
#:test-target "spec"
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'extract-gemspec 'strip-version-requirements
|
(add-after 'extract-gemspec 'strip-version-requirements
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "range_compressor.gemspec"
|
(substitute* "range_compressor.gemspec"
|
||||||
(("(.*add_.*dependency '[_A-Za-z0-9-]+').*" _ stripped)
|
(("(.*add_.*dependency '[_A-Za-z0-9-]+').*" _ stripped)
|
||||||
(string-append stripped "\n")))
|
(string-append stripped "\n"))))))))
|
||||||
#t)))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list ruby-rspec))
|
(list ruby-rspec))
|
||||||
(synopsis "Simple arrays of objects to arrays of ranges compressor")
|
(synopsis "Simple arrays of objects to arrays of ranges compressor")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue