summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorGiacomo Leidi <goodoldpaul@autistici.org>2021-11-20 00:41:22 +0100
committerEfraim Flashner <efraim@flashner.co.il>2021-12-01 13:57:59 +0200
commita8d62aea2240d5651c857c1145720b4e2cf275ed (patch)
tree203327d9c6452073a56813f864e024c6d612bc2a /gnu/packages
parent124d76c5c27fd92dd8c1f9cb9cfe241eaf2498ea (diff)
gnu: Add python-dotenv.
* gnu/packages/python-xyz.scm (python-dotenv): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-xyz.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3fe6a06db5..bbe5aed40e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27625,6 +27625,29 @@ cons cells in Python.")
systems in Python.")
(license license:bsd-3)))
+(define-public python-dotenv
+ (package
+ (name "python-dotenv")
+ (version "0.19.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "python-dotenv" version))
+ (sha256
+ (base32 "0pv5ygpr6syc6zkw21in4ysqs3k7qaxk9m1g5pzlafwm3silkpm5"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-click" ,python-click)))
+ (native-inputs
+ `(("python-mock" ,python-mock)
+ ("python-pytest" ,python-pytest)
+ ("python-sh" ,python-sh)))
+ (home-page "https://github.com/theskumar/python-dotenv")
+ (synopsis "Setup environment variables according to .env files")
+ (description
+ "This package provides the @code{python-dotenv} Python module to read
+key-value pairs from a @code{.env} file and set them as environment variables.")
+ (license license:bsd-3)))
(define-public date2name
(let ((commit "6c8f37277e8ec82aa50f90b8921422be30c4e798")