summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-03-10 16:15:51 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-03-10 23:49:47 +0100
commit8e54e5243ba73d385e2aa2e4886ba87b7ada719a (patch)
tree95975c1d608e5181501237f3f7e1c70d29b161db /gnu/packages/crates-io.scm
parent8cc3a16cbb2521a737d9276d4de4fff3b4f2bd17 (diff)
downloadguix-8e54e5243ba73d385e2aa2e4886ba87b7ada719a.tar.gz
gnu: Add rust-gimli-0.23.
* gnu/packages/crates-io.scm (rust-gimli-0.23): New variable.
(rust-gimli-0.20): Inherit from above.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm37
1 files changed, 30 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ae96bcc03f..a863c9c7ec 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16048,8 +16048,37 @@ authenticated encryption cipher.")
        (("rust-polyval" ,rust-polyval-0.3)
         ("rust-zeroize" ,rust-zeroize-1))))))
 
+(define-public rust-gimli-0.23
+  (package
+    (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"))))
+    (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.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))))
+    (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:asl2.0 license:expat))))
+
 (define-public rust-gimli-0.20
   (package
+    (inherit rust-gimli-0.23)
     (name "rust-gimli")
     (version "0.20.0")
     (source
@@ -16061,7 +16090,6 @@ authenticated encryption cipher.")
         (sha256
          (base32
           "0cz6wg1niwfqf0mk28igsdnsm92cs57cai9jpzdmvw6hma863pc1"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
@@ -16072,12 +16100,7 @@ authenticated encryption cipher.")
          ,rust-stable-deref-trait-1)
         ("rust-smallvec" ,rust-smallvec-1)
         ("rust-indexmap" ,rust-indexmap-1)
-        ("rust-byteorder" ,rust-byteorder-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:asl2.0 license:expat))))
+        ("rust-byteorder" ,rust-byteorder-1))))))
 
 (define-public rust-gimli-0.18
   (package