gnu: ruby-mkmf-lite: Update to 0.5.2.

* gnu/packages/ruby.scm (ruby-mkmf-lite): Update to 0.5.2.
[arguments]: Avoid the rubocop dependency.
[native-inputs]: Add ruby-rspec.
This commit is contained in:
Christopher Baines 2023-06-18 12:01:09 +01:00
parent 90e9e56140
commit b5cb477d9d
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -4704,16 +4704,27 @@ (define-public ruby-metaclass
(define-public ruby-mkmf-lite (define-public ruby-mkmf-lite
(package (package
(name "ruby-mkmf-lite") (name "ruby-mkmf-lite")
(version "0.3.2") (version "0.5.2")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (rubygems-uri "mkmf-lite" version)) (uri (rubygems-uri "mkmf-lite" version))
(sha256 (sha256
(base32 (base32
"0br9k6zijj1zc25n8p7f2j1mwl58nfgdknf3q13h9k156jvrir06")))) "0rqa5kzswhqkj7r9mqrqz4mjd2vdxsblgybb52gj3mwr1gwvl4c5"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
;; Avoid rubocop dependency
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "rspec")))))))
(propagated-inputs (propagated-inputs
(list ruby-ptools)) (list ruby-ptools))
(native-inputs
(list ruby-rspec))
(synopsis "Lightweight alternative to @code{mkmf}") (synopsis "Lightweight alternative to @code{mkmf}")
(description (description
"@code{mkmf-lite} is a light version of Ruby's @code{mkmf.rb} designed "@code{mkmf-lite} is a light version of Ruby's @code{mkmf.rb} designed