From b5cb477d9d37e449a02ae4a8abe57e3c1ff125a7 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 18 Jun 2023 12:01:09 +0100 Subject: [PATCH] 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. --- gnu/packages/ruby.scm | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 3c20146c0d..7f15217db1 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -4704,16 +4704,27 @@ (define-public ruby-metaclass (define-public ruby-mkmf-lite (package (name "ruby-mkmf-lite") - (version "0.3.2") + (version "0.5.2") (source (origin (method url-fetch) (uri (rubygems-uri "mkmf-lite" version)) (sha256 (base32 - "0br9k6zijj1zc25n8p7f2j1mwl58nfgdknf3q13h9k156jvrir06")))) + "0rqa5kzswhqkj7r9mqrqz4mjd2vdxsblgybb52gj3mwr1gwvl4c5")))) (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 (list ruby-ptools)) + (native-inputs + (list ruby-rspec)) (synopsis "Lightweight alternative to @code{mkmf}") (description "@code{mkmf-lite} is a light version of Ruby's @code{mkmf.rb} designed