Subject: [PATCH 30/88] gnu: ruby-unf: Update to 0.2.0.

From: Nicolas Graves <[email-masked]>
Date: Wed, 18 Jun 2025 16:27:17 +0200

* gnu/packages/ruby-xyz.scm (ruby-unf): Update to 0.2.0.
  [source]: Switch to git-fetch.
---
 gnu/packages/ruby-xyz.scm | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index 306a780852..1a9ae2f564 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -10326,14 +10326,21 @@ (define-public ruby-shoulda
 (define-public ruby-unf
   (package
     (name "ruby-unf")
-    (version "0.1.4")
+    (version "0.2.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (rubygems-uri "unf" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/knu/ruby-unf")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "0bh2cf73i2ffh4fcpdn9ir4mhq8zi50ik0zqa1braahzadx536a9"))))
+        (base32 "1zczv2z4yk73gymh5ymjgf857z6274nwv7gnslip507ds67r78ay"))
+       (modules '((guix build utils)))
+       (snippet #~(begin
+                    (delete-file-recursively "ext")
+                    (substitute* "unf.gemspec"
+                      (("gem\\.extensions.*") ""))))))
     (build-system ruby-build-system)
     (arguments
      `(#:phases
-- 
2.49.0