summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-06-18 12:01:09 +0100
committerChristopher Baines <mail@cbaines.net>2023-06-20 22:04:51 +0100
commitb5cb477d9d37e449a02ae4a8abe57e3c1ff125a7 (patch)
treebb9659b6100fe1ccd22fb7bdaf88710417e9a6c5 /gnu/packages
parent90e9e561404647161b9f14ebeac8b9da0a189b3a (diff)
downloadguix-b5cb477d9d37e449a02ae4a8abe57e3c1ff125a7.tar.gz
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/ruby.scm15
1 files 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 @@ objects.")
 (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