guix-commits
[Top][All Lists]
Advanced

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

06/12: gnu: Add rust-dotenvy-0.15.


From: guix-commits
Subject: 06/12: gnu: Add rust-dotenvy-0.15.
Date: Thu, 28 Sep 2023 14:18:17 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 188730c17c129a76822aed89761b763f19a37402
Author: Andrew Jose <arnav.jose@gmail.com>
AuthorDate: Thu Sep 21 18:14:53 2023 +0530

    gnu: Add rust-dotenvy-0.15.
    
    * gnu/packages/crates-io.scm (rust-dotenvy-0.15): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c4a22857f1..a42f139829 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20967,6 +20967,37 @@ Rust.")
         ("rust-regex" ,rust-regex-0.2)
         ("rust-syn" ,rust-syn-0.11))))))
 
+(define-public rust-dotenvy-0.15
+  (package
+    (name "rust-dotenvy")
+    (version "0.15.7")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "dotenvy" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "16s3n973n5aqym02692i1npb079n5mb0fwql42ikmwn8wnrrbbqs"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags
+       ;; Not all files included.
+       '("--release" "--"
+         "--skip=dotenv"
+         "--skip=dotenv_iter"
+         "--skip=dotenv_override"
+         "--skip=from_filename"
+         "--skip=from_filename_override")
+       #:cargo-inputs
+       (("rust-clap" ,rust-clap-3))
+       #:cargo-development-inputs
+       (("rust-once-cell" ,rust-once-cell-1)
+        ("rust-tempfile" ,rust-tempfile-3))))
+    (home-page "https://github.com/allan2/dotenvy";)
+    (synopsis "Fork of the dotenv crate")
+    (description "This package provides a fork of the dotenv crate.")
+    (license license:expat)))
+
 (define-public rust-draw-state-0.8
   (package
     (name "rust-draw-state")



reply via email to

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