Subject: [PATCH PATCH rust-team v2 15/24] gnu: Add rust-goblin-0.9.

From: Maxim Cournoyer <[email-masked]>
Date: Wed, 11 Dec 2024 10:49:02 +0900

* gnu/packages/crates-io.scm (rust-goblin-0.9): New variable.
(rust-goblin-0.8): Inherit from it.

Change-Id: I8b856eff3d79a76afde1c985e6424949d44e6f2a
---

(no changes since v1)

 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++----
 1 file changed, 23 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7b9caa3903..62494dd453 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32487,20 +32487,20 @@ (define-public rust-gmp-mpfr-sys-1
 libraries GMP, MPFR, and MPC.")
     (license license:lgpl3+)))
 
-(define-public rust-goblin-0.8
+(define-public rust-goblin-0.9
   (package
     (name "rust-goblin")
-    (version "0.8.0")
+    (version "0.9.2")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "goblin" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "11wqipqx0dbimxy5612nxpx79qja43sxic95llcb34r0xpzs81xv"))))
+        (base32 "08yrnjj5j4nddh6y1r8kf35ys7p3iwg6npga3nc4cwfps4r3zask"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:tests? #f          ; Not all files included.
+     `(#:tests? #f                      ;there are missing data files
        #:cargo-inputs (("rust-log" ,rust-log-0.4)
                        ("rust-plain" ,rust-plain-0.2)
                        ("rust-scroll" ,rust-scroll-0.12))
@@ -32511,6 +32511,25 @@ (define-public rust-goblin-0.8
 and loading crate.")
     (license license:expat)))
 
+(define-public rust-goblin-0.8
+  (package
+    (inherit rust-goblin-0.9)
+    (name "rust-goblin")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "goblin" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "11wqipqx0dbimxy5612nxpx79qja43sxic95llcb34r0xpzs81xv"))))
+    (arguments
+     `(#:tests? #f          ; Not all files included.
+       #:cargo-inputs (("rust-log" ,rust-log-0.4)
+                       ("rust-plain" ,rust-plain-0.2)
+                       ("rust-scroll" ,rust-scroll-0.12))
+       #:cargo-development-inputs (("rust-stderrlog" ,rust-stderrlog-0.5))))))
+
 (define-public rust-goblin-0.7
   (package
     (inherit rust-goblin-0.8)
-- 
2.46.0