Subject: [bug#68312] [PATCH 048/156] gnu: Add rust-dlv-list-0.3.

From: Wilko Meyer <[email-masked]>
Date: Mon, 8 Jan 2024 02:52:25 +0100

* gnu/packages/crates-io.scm (rust-dlv-list-0.3): New variable.
(rust-dlv-list-0.3): Inherit from rust-dlv-list-0.2.

Change-Id: I2ebd40a207b4c01303baecc6035c07860a641547
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++------
 1 file changed, 21 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 16be8d8d0c2..47ffaef8bb0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21977,22 +21977,20 @@ (define-public rust-dlib-0.4
     (inputs
      (list rust-libloading-0.6))))
 
-(define-public rust-dlv-list-0.2
+(define-public rust-dlv-list-0.3
   (package
     (name "rust-dlv-list")
-    (version "0.2.3")
+    (version "0.3.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "dlv-list" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "06r1nskj3x56p5wqz2bgl6q3rpyymrb0k0zpbvk8c6qcd4mkzpv8"))))
+        (base32 "0mqj5rdkcjksw3kvjj0nga6rzcpppx0kimjwi527yhifz6kw5206"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-rand" ,rust-rand-0.8))))
+     `(#:skip-build? #t))
     (home-page "https://github.com/sgodwincs/dlv-list-rs")
     (synopsis "Semi-doubly linked list implemented using a vector")
     (description
@@ -22000,6 +21998,23 @@ (define-public rust-dlv-list-0.2
 a vector.")
     (license license:expat)))
 
+(define-public rust-dlv-list-0.2
+  (package
+    (inherit rust-dlv-list-0.3)
+    (name "rust-dlv-list")
+    (version "0.2.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "dlv-list" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "06r1nskj3x56p5wqz2bgl6q3rpyymrb0k0zpbvk8c6qcd4mkzpv8"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-rand" ,rust-rand-0.8))))))
+
 (define-public rust-dns-parser-0.8
   (package
     (name "rust-dns-parser")
-- 
2.41.0