Subject: [bug#66717] [PATCH 48/64] gnu: Add rust-slice-deque-0.3.

From: Steve George <[email-masked]>
Date: Mon, 23 Oct 2023 23:21:33 +0100

* gnu/packages/crates-io.scm (rust-slice-deque-0.3): New variable.
---
 gnu/packages/crates-io.scm | 30 +++++++++++++++++++++++++-----
 1 file changed, 25 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 133c91bc2a..d6f8da38c8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66937,23 +66937,24 @@ (define-public rust-sleef-sys-0.1
      "Rust FFI bindings to the SLEEF Vectorized Math Library.")
     (license (list license:asl2.0 license:expat))))
 
-(define-public rust-slice-deque-0.2
+(define-public rust-slice-deque-0.3
   (package
     (name "rust-slice-deque")
-    (version "0.2.4")
+    (version "0.3.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "slice-deque" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1mq78l0vfwabnyanb85amgzakfhdaxx455yq6cszd5zmynagbpgz"))))
+        (base32
+          "098gvqjw52qw4gac567c9hx3y6hw9al7hjqb5mnvmvydh3i6xvri"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
+     `(#:skip-build? #f
        #:cargo-inputs
        (("rust-libc" ,rust-libc-0.2)
-        ("rust-mach" ,rust-mach-0.2)
+        ("rust-mach" ,rust-mach-0.3)
         ("rust-winapi" ,rust-winapi-0.3))))
     (home-page "https://github.com/gnzlbg/slice_deque")
     (synopsis "Double-ended queue that Deref's into a slice")
@@ -66961,6 +66962,25 @@ (define-public rust-slice-deque-0.2
      "This package provides a double-ended queue that Deref's into a slice.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-slice-deque-0.2
+  (package
+    (inherit rust-slice-deque-0.3)
+    (name "rust-slice-deque")
+    (version "0.2.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "slice-deque" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1mq78l0vfwabnyanb85amgzakfhdaxx455yq6cszd5zmynagbpgz"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2)
+        ("rust-mach" ,rust-mach-0.2)
+        ("rust-winapi" ,rust-winapi-0.3))))))
+
 (define-public rust-slog-2
   (package
     (name "rust-slog")
-- 
2.41.0