Subject: [bug#66842] [PATCH 26/39] gnu: Add rust-temporary-0.6.

From: Jaeme Sifat <[email-masked]>
Date: Mon, 30 Oct 2023 22:52:30 -0400

* gnu/packages/crates-io.scm (rust-temporary-0.6): New variable.

Change-Id: I9b57b8c194a689124fbda9e6f37307766ac21cd8
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 78fd846476..e00341ee53 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -72581,6 +72581,28 @@ (define-public rust-tempfile-fast-0.3
      "This package provides support for Linux-specific tempfile extensions.")
     (license license:expat)))
 
+(define-public rust-temporary-0.6
+  (package
+    (name "rust-temporary")
+    (version "0.6.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "temporary" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1llj529jcbxxc5g76mdyqkysrpy9009n43k028kj1ywv7qqfvmxc"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-random" ,rust-random-0.12))))
+    (home-page "https://github.com/stainless-steel/temporary")
+    (synopsis
+     "Provides the means of managing temporary files and folders in Rust")
+    (description
+     "The package provides means of managing temporary files and folders in
+Rust.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-temptree-0.2
   (package
     (name "rust-temptree")
-- 
2.34.1