summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorAntero Mejr <antero@kodmin.com>2021-05-31 19:55:41 -0400
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-05 22:17:49 +0200
commitadd0c5f2b1abae743d76db0b1eaee6affab6a3f3 (patch)
tree2c30c34f3954a74821eb6db16206907a6e96b44c /gnu/packages
parent7b5f5aa82baa1117c0ff10d1208154e5cbb3ce6f (diff)
downloadguix-add0c5f2b1abae743d76db0b1eaee6affab6a3f3.tar.gz
gnu: Add rust-envy-0.4.
* gnu/packages/crates-io.scm (rust-envy-0.4): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
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")