[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49834] [PATCH 2/6] gnu: Add python-dotenv.
From: |
Giacomo Leidi |
Subject: |
[bug#49834] [PATCH 2/6] gnu: Add python-dotenv. |
Date: |
Sat, 28 Aug 2021 13:51:49 +0200 |
* gnu/packages/python-xyz.scm (python-dotenv): New variable.
---
gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1e4f04337d..128ac9fd0c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26297,3 +26297,30 @@ a (rather superficial) static analysis, and constructs
a directed graph of the
objects in the combined source, and how they define or use each other. The
graph can be output for rendering by GraphViz or yEd.")
(license license:gpl2)))
+
+(define-public python-dotenv
+ (package
+ (name "python-dotenv")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "python-dotenv" version))
+ (sha256
+ (base32
+ "0b90br3f48ykx5ddfpx2zmsh4vmdqw6s812drcy9pn2q3qyarypg"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-click" ,python-click-5)))
+ (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 .env file and set them as environment variables")
+ (license license:bsd-3)))
--
2.33.0
- [bug#49830] [PATCH 2/7] gnu: Add python-flake8-todo., (continued)
- [bug#49830] [PATCH 2/7] gnu: Add python-flake8-todo., Giacomo Leidi, 2021/08/02
- [bug#49831] [PATCH 6/7] gnu: Add python-pep8-naming., Giacomo Leidi, 2021/08/02
- [bug#49832] [PATCH 4/7] gnu: Add python-box., Giacomo Leidi, 2021/08/02
- [bug#49833] [PATCH 3/7] gnu: Add python-dotenv., Giacomo Leidi, 2021/08/02
- [bug#49835] [PATCH 7/7] gnu: Add dynaconf., Giacomo Leidi, 2021/08/02
- [bug#49281] Add dynaconf, Sarah Morgensen, 2021/08/04
- [bug#49834] [PATCH 1/6] gnu: Add python-flake8-todo., Giacomo Leidi, 2021/08/28
- [bug#49834] Add dynaconf, Sarah Morgensen, 2021/08/28
- [bug#49834] [PATCH 1/4] gnu: Add python-dotenv., Giacomo Leidi, 2021/08/29