gnu: Add ruby-psych-3.

* gnu/packages/ruby.scm (ruby-psych-3): New variable.
This commit is contained in:
Christopher Baines 2023-06-26 20:37:48 +01:00
parent 4dccf25587
commit cdb2f02f0e
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -7551,6 +7551,28 @@ (define-public ruby-psych
(home-page "https://github.com/ruby/psych")
(license license:expat)))
(define-public ruby-psych-3
(package
(inherit ruby-psych)
(version "3.3.4")
(source (origin
(method git-fetch) ;for tests
(uri (git-reference
(url "https://github.com/ruby/psych")
(commit (string-append "v" version))))
(file-name (git-file-name "ruby-psych" version))
(sha256
(base32
"11f7bxbhaj5697izap7hfbiln6lfk5cks78a498mkyhs2ylhl0fc"))))
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "bundle" "exec" "rake" "default")))))))))
(define-public ruby-utils
(package
(name "ruby-utils")