guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

28/68: gnu: Add rust-temp-env-0.2.


From: guix-commits
Subject: 28/68: gnu: Add rust-temp-env-0.2.
Date: Wed, 20 Mar 2024 11:24:30 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 1b13c4c8af93791b74a89fc845603483eb2de10a
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:08:09 2024 +0100

    gnu: Add rust-temp-env-0.2.
    
    * gnu/packages/crates-io.scm (rust-temp-env-0.2): Add variable.
    
    Change-Id: I190d0442b55fa80522a9a47b8cd516c18efe3ea0
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 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 204c24f0a8..2d606c502e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -73910,6 +73910,26 @@ loading and layout routines of XeTeX as a crate, 
currently providing only
 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]