Subject: [bug#76862] [PATCH 5/6] gnu: mruby: Update to 3.3.0.

From: [email-masked]
Date: Sat, 8 Mar 2025 18:55:33 +0800

From: 宋文武 <[email-masked]>

* gnu/packages/ruby.scm (mruby): Update to 3.3.0.
[arguments]: Install header files in install phase.

Change-Id: I1768c039cef599d8330b223d112f470802ab788a
---
 gnu/packages/ruby.scm | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 58082359f6..bb4903958f 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -296,7 +296,7 @@ (define-public ruby ruby-3.1)
 (define-public mruby
   (package
     (name "mruby")
-    (version "3.2.0")
+    (version "3.3.0")
     (source
      (origin
        (method git-fetch)
@@ -306,7 +306,7 @@ (define-public mruby
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "0c0scaqbnywrd9z1z4rnnj345rjc3vbklszm0rc6y6rzx1cxnsij"))))
+         "0zynr6dk0zxdip53il0qr0rhyzmjicpkxs63l77acpx8b05h8amc"))))
     (build-system gnu-build-system)
     (arguments
      `(#:test-target "test"
@@ -333,11 +333,14 @@ (define-public mruby
            (lambda* (#:key outputs #:allow-other-keys)
              (let* ((out (assoc-ref outputs "out"))
                     (bin (string-append out "/bin"))
-                    (lib (string-append out "/lib")))
+                    (lib (string-append out "/lib"))
+                    (inc (string-append out "/include")))
                (mkdir-p bin)
                (copy-recursively "build/host/bin" bin)
                (mkdir-p lib)
-               (copy-recursively "build/host/lib" lib))
+               (copy-recursively "build/host/lib" lib)
+               (mkdir-p inc)
+               (copy-recursively "include" inc))
              #t)))))
     (native-inputs
      (list ruby bison))
-- 
2.48.1