gnu: Add ruby-psych.

* gnu/packages/ruby.scm (ruby-psych): New variable.
This commit is contained in:
Christopher Baines 2023-06-22 10:52:55 +01:00
parent 84af221d00
commit 68238b73b3
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -7509,6 +7509,33 @@ (define-public ruby-pstree
;; There is no mention of the "or later" clause.
(license license:gpl2)))
(define-public ruby-psych
(package
(name "ruby-psych")
(version "5.1.0")
(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 name version))
(sha256
(base32
"0m3668y79jcv2h9p7w74awwdyz13rpfr24w4nzh3iz96kxwssz83"))))
(build-system ruby-build-system)
(inputs
(list libyaml))
(native-inputs
(list ruby-rake-compiler))
(synopsis "Ruby YAML parser and emitter")
(description
"Psych is a YAML parser and emitter. Psych leverages libyaml for its
YAML parsing and emitting capabilities. In addition to wrapping libyaml,
Psych also knows how to serialize and de-serialize most Ruby objects to and
from the YAML format.")
(home-page "https://github.com/ruby/psych")
(license license:expat)))
(define-public ruby-utils
(package
(name "ruby-utils")