gnu: ruby-yaml-lint: Update to 0.1.2-0.d6a253f.

* gnu/packages/ruby.scm (ruby-yaml-lint): Update to 0.1.2-0.d6a253f.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-02-16 01:34:35 +01:00 committed by Andreas Enge
parent 100dfcf514
commit 17bdacd56b
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -14514,35 +14514,37 @@ YAML.load suitable for accepting user input in Ruby applications.")
(license license:expat))) (license license:expat)))
(define-public ruby-yaml-lint (define-public ruby-yaml-lint
(package ;; No tags for releases.
(name "ruby-yaml-lint") (let ((commit "d6a253f7d33234a9c24660d582cf7014e882c0c2")
(version "0.0.10") (revision "0"))
(source (package
(origin (name "ruby-yaml-lint")
(method git-fetch) (version (git-version "0.1.2" revision commit))
(uri (git-reference (source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Pryz/yaml-lint") (url "https://github.com/Pryz/yaml-lint")
(commit version))) (commit commit)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "0zk0jwzmcaaiyixjvkzdb54xhiqcnjkma72nkv0vm5csaphfdjkx"))))
"1jz26mxjkdyjbgqp7f9isnzd1i6vkizsswyj1v639nmq31hwfh0d")))) (build-system ruby-build-system)
(build-system ruby-build-system) (arguments
(arguments `(#:phases
`(#:phases (modify-phases %standard-phases
(modify-phases %standard-phases (replace 'check
(replace 'check (lambda* (#:key tests? #:allow-other-keys)
(lambda* (#:key tests? #:allow-other-keys) (when tests?
(when tests? (invoke "rspec")))))))
(invoke "rspec"))))))) (native-inputs
(native-inputs (list ruby-coveralls ruby-rspec ruby-simplecov))
(list ruby-coveralls ruby-rspec ruby-simplecov)) (synopsis "Simple YAML check tool")
(synopsis "Simple YAML check tool") (description
(description "@code{yaml-lint} will simply try to load the YAML file with the built-in
"@code{yaml-lint} will simply try to load the YAML file with the built-in
Ruby yaml library.") Ruby yaml library.")
(home-page "https://github.com/Pryz/yaml-lint") (home-page "https://github.com/Pryz/yaml-lint")
(license license:expat))) (license license:expat))))
(define-public ruby-matrix (define-public ruby-matrix
(package (package