Subject: [bug#66717] [PATCH 04/64] gnu: rust-parking-lot: Update to 0.4.8.

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

* gnu/packages/crates-io.scm (rust-parking-lot): Update to 0.4.8.
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2569f3b333..276e3852a5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47899,6 +47899,25 @@ (define-public rust-parking-lot-0.7
         ("rust-rand" ,rust-rand-0.4)
         ("rust-rustc-version" ,rust-rustc-version-0.2))))))
 
+(define-public rust-parking-lot-0.4
+  (package
+    (inherit rust-parking-lot-0.9)
+    (name "rust-parking-lot")
+    (version "0.4.8")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "parking-lot" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0ph0kv3dfcxpjbi83wkzammqb7lm95j8in7w7hz17hgkjxdqz78l"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:skip-build? #f
+           #:cargo-inputs `(("rust-parking-lot-core" ,rust-parking-lot-core-0.2)
+                            ("rust-owning-ref" ,rust-owning-ref-0.3))
+           #:cargo-development-inputs `(("rust-rand" ,rust-rand-0.3))))))
+
 (define-public rust-parking-lot-core-0.9
   (package
     (name "rust-parking-lot-core")
-- 
2.41.0