Subject: [PATCH 060/147] gnu: Add rust-gimli-0.28.

From: Jean-Pierre De Jesus DIAZ <[email-masked]>
Date: Tue, 2 Apr 2024 18:04:12 +0200

* gnu/packages/crates-io.scm (rust-gimli-0.28): New variable.
(rust-gimli-0.27): Inherit from rust-gimli-0.28.

Change-Id: I5ef53da84f6efc735c3de9abe8166aae93f9faaa
---
 gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++--------
 1 file changed, 30 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4c48053f95..10ef22bea6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26859,8 +26859,37 @@ (define-public rust-ghost-0.1
     ;; Either license can be chosen at the users option.
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-gimli-0.28
+  (package
+    (name "rust-gimli")
+    (version "0.28.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gimli" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0lv23wc8rxvmjia3mcxc6hj9vkqnv1bqq0h8nzjcgf71mrxx6wa2"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+        ("rust-fallible-iterator" ,rust-fallible-iterator-0.3)
+        ("rust-indexmap" ,rust-indexmap-2)
+        ("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))))
+    (home-page "https://github.com/gimli-rs/gimli")
+    (synopsis "Library for reading and writing the DWARF debugging format")
+    (description
+     "This package provides a library for reading and writing the DWARF
+debugging format.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gimli-0.27
   (package
+    (inherit rust-gimli-0.28)
     (name "rust-gimli")
     (version "0.27.2")
     (source (origin
@@ -26870,7 +26899,6 @@ (define-public rust-gimli-0.27
               (sha256
                (base32
                 "1d5v6jjchf4872jynjsg5ni4vankm1341bas8qindygb6g9962md"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
@@ -26888,13 +26916,7 @@ (define-public rust-gimli-0.27
         ("rust-rayon" ,rust-rayon-1)
         ("rust-regex" ,rust-regex-1)
         ("rust-test-assembler" ,rust-test-assembler-0.1)
-        ("rust-typed-arena" ,rust-typed-arena-2))))
-    (home-page "https://github.com/gimli-rs/gimli")
-    (synopsis "Library for reading and writing the DWARF debugging format")
-    (description
-     "This package provides a library for reading and writing the DWARF
-debugging format.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-typed-arena" ,rust-typed-arena-2))))))
 
 (define-public rust-gimli-0.26
   (package
-- 
2.41.0