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>
This commit is contained in:
Picnoir 2024-05-19 14:46:24 +02:00 committed by Ludovic Courtès
parent abfef465b2
commit 78f09fb7c4
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -68736,6 +68736,28 @@ (define-public rust-tectonic-xetex-layout-0.2
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")