From add0c5f2b1abae743d76db0b1eaee6affab6a3f3 Mon Sep 17 00:00:00 2001 From: Antero Mejr Date: Mon, 31 May 2021 19:55:41 -0400 Subject: gnu: Add rust-envy-0.4. * gnu/packages/crates-io.scm (rust-envy-0.4): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bf9082c3f1..26514a6319 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -13511,6 +13511,30 @@ variables.") "Environment variables utility functions.") (license license:asl2.0))) +(define-public rust-envy-0.4 + (package + (name "rust-envy") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "envy" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0rar459p7pl19v6pbx98q3hi2hxfl8q1ndxxw5d4zd9cgway0irz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/softprops/envy") + (synopsis "Deserialize environment variables into Rust structs") + (description + "This package provides access to typesafe config structs +deserialized from environment variables.") + (license license:expat))) + (define-public rust-erased-serde-0.3 (package (name "rust-erased-serde") -- cgit 1.4.1