aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPicnoir <picnoir@alternativebit.fr>2024-05-19 14:46:24 +0200
committerLudovic Courtès <ludo@gnu.org>2024-06-02 20:52:25 +0200
commit78f09fb7c4e6800385041fb705adb205905ed63f (patch)
tree89e54b99b2de8f5ec7165de16c1ad93f69a1645e
parentabfef465b2b2353610cbff2caefee679566978f7 (diff)
downloadguix-78f09fb7c4e6800385041fb705adb205905ed63f.tar.gz
guix-78f09fb7c4e6800385041fb705adb205905ed63f.zip
gnu: Add rust-temp-env-0.3.
* gnu/packages/crates-io.scm (rust-temp-env-0.3): New variable. Required by Nsncd. Change-Id: I0cf5084339b889aa6fdaeeeca7b6be2ffcdcb48c Co-authored-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6b4d8dfac3..9f22feb9a9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68736,6 +68736,28 @@ loading and layout routines of XeTeX as a crate, currently providing only
a C API.")
(license license:expat)))
+(define-public rust-temp-env-0.3
+ (package
+ (name "rust-temp-env")
+ (version "0.3.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "temp-env" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0l7hpkd0nhiy4w70j9xbygl1vjr9ipcfxii164n40iwg0ralhdwn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-futures" ,rust-futures-0.3)
+ ("rust-parking-lot" ,rust-parking-lot-0.12))
+ #:cargo-development-inputs (("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/vmx/temp-env")
+ (synopsis "Set environment variables temporarily")
+ (description
+ "This Rust library 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")