Subject: [bug#56057] [bug #56057] [PATCH v2 09/21] gnu: Add rust-gimli-0.26.

From: antlers <[email-masked]>
Date: Sun, 19 Jun 2022 10:26:59 -0700

* gnu/packages/crates-io.scm (rust-gimli-0.26): New variable.
(rust-gimli-0.23): Inherit from rust-gimli-0.26.
---
:100644 100644 40db634ecf 200431da6c M	gnu/packages/crates-io.scm
 gnu/packages/crates-io.scm | 28 +++++++++++++++++++++++++---
 1 file changed, 25 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 40db634ecf..200431da6c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25123,17 +25123,17 @@ (define-public rust-gif-0.11
     (description "This crate provides a GIF de- and encoder.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-gimli-0.23
+(define-public rust-gimli-0.26
   (package
     (name "rust-gimli")
-    (version "0.23.0")
+    (version "0.26.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "gimli" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1km657nwcrb0pnv7v0ldhgl9y8s889y2j9jckmws8k2i8bhkyl7n"))))
+        (base32 "1m0vi36ypv4gx9gzcw6y456yqnlypizhwlcqrmg6vkwd0lnkgk3q"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
@@ -25151,6 +25151,28 @@ (define-public rust-gimli-0.23
 debugging format.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-gimli-0.23
+  (package
+    (inherit rust-gimli-0.26)
+    (name "rust-gimli")
+    (version "0.23.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gimli" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1km657nwcrb0pnv7v0ldhgl9y8s889y2j9jckmws8k2i8bhkyl7n"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+        ("rust-fallible-iterator" ,rust-fallible-iterator-0.2)
+        ("rust-indexmap" ,rust-indexmap-1)
+        ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
+        ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
+        ("rust-stable-deref-trait" ,rust-stable-deref-trait-1))))))
+
 (define-public rust-gimli-0.20
   (package
     (inherit rust-gimli-0.23)
-- 
2.36.0