gnu: ruby-safe-yaml: Fix build.
* gnu/packages/ruby.scm (ruby-safe-yaml)[arguments]: Build with #:ruby ruby-2.7 and update style.
This commit is contained in:
parent
e13dc6a024
commit
9c164d72b2
1 changed files with 12 additions and 11 deletions
|
@ -13727,17 +13727,18 @@ indentation will probably be an issue and hence this gem.")
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list ruby-rspec ruby-hashie ruby-heredoc-unindent))
|
(list ruby-rspec ruby-hashie ruby-heredoc-unindent))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:test-target "spec"
|
(list
|
||||||
#:phases
|
#:ruby ruby-2.7
|
||||||
(modify-phases %standard-phases
|
#:test-target "spec"
|
||||||
(add-before 'check 'set-TZ
|
#:phases
|
||||||
(lambda _
|
#~(modify-phases %standard-phases
|
||||||
;; This test is dependent on the timezone
|
(add-before 'check 'set-TZ
|
||||||
;; spec/transform/to_date_spec.rb:35
|
(lambda _
|
||||||
;; # SafeYAML::Transform::ToDate converts times to the local
|
;; This test is dependent on the timezone
|
||||||
;; timezone
|
;; spec/transform/to_date_spec.rb:35
|
||||||
(setenv "TZ" "UTC-11")
|
;; # SafeYAML::Transform::ToDate converts times to the local
|
||||||
#t)))))
|
;; timezone
|
||||||
|
(setenv "TZ" "UTC-11"))))))
|
||||||
(home-page "https://github.com/dtao/safe_yaml")
|
(home-page "https://github.com/dtao/safe_yaml")
|
||||||
(synopsis "YAML parser")
|
(synopsis "YAML parser")
|
||||||
(description "The SafeYAML gem provides an alternative implementation of
|
(description "The SafeYAML gem provides an alternative implementation of
|
||||||
|
|
Reference in a new issue