Subject: [bug#69257] [PATCH 119/228] gnu: Add rust-temp-env-0.2.

From: Herman Rimm <[email-masked]>
Date: Sun, 18 Feb 2024 22:08:09 +0100

* gnu/packages/crates-io.scm (rust-temp-env-0.2): Add variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 49d7df80a0..08e1823a3f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70005,6 +70005,26 @@ (define-public rust-tectonic-xetex-layout-0.2
 a C API.")
     (license license:expat)))
 
+(define-public rust-temp-env-0.2
+  (package
+    (name "rust-temp-env")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "temp-env" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0mxbfwcrbzgplf5ixs4n2xsl3pqazna25h2kfjwc9y6xq8v72425"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1))))
+    (home-page "https://github.com/vmx/temp-env")
+    (synopsis "Set environment variables temporarily")
+    (description
+     "This package lets you set environment variables temporarily.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-temp-testdir-0.2
   (package
     (name "rust-temp-testdir")
-- 
2.41.0