GNU bug report logs - #50213
[PATCH] gnu: python-flask: Add missing propagated-inputs.

Previous Next

Package: guix-patches;

Reported by: jgart <jgart <at> dismail.de>

Date: Thu, 26 Aug 2021 15:09:01 UTC

Severity: normal

Tags: patch

Done: "jgart" <jgart <at> dismail.de>

Bug is archived. No further changes may be made.

Full log


Message #89 received at 50213 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 50213 <at> debbugs.gnu.org
Cc: jgart <jgart <at> dismail.de>
Subject: [PATCH 5/6] gnu: Add python-dotenv.
Date: Tue, 31 Aug 2021 23:09:57 -0400
* gnu/packages/python-xyz.scm (python-dotenv): New variable.
---
 gnu/packages/python-xyz.scm | 43 +++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index aec8cc682a..b7898e4586 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1964,6 +1964,49 @@ a library.")
     (description "DiskCache is a disk and file backed persistent cache.")
     (license license:asl2.0)))
 
+(define-public python-dotenv
+  (package
+    (name "python-dotenv")
+    (version "0.19.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "python-dotenv" version))
+        (sha256
+          (base32
+            "0wk1kfzbpqk9swvmpa9z3q170ffqql2id4b2dxrkrq58r4mbq8gm"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-sh" ,python-sh)
+       ("python-ipython" ,python-ipython)
+       ("python-pytest" ,python-pytest)
+       ("python-mock" ,python-mock)))
+    (propagated-inputs
+     `(("python-click" ,python-click)))
+    (home-page
+      "https://github.com/theskumar/python-dotenv")
+    (synopsis
+      "Read key-value pairs from a .env file and set them as environment variables")
+    (description
+"Python-dotenv reads key-value pairs from a .env file and can set them as environment
+variables.  It facilitates the development of applications following the 12 factors for
+building software-as-a-service apps as detailed by Adam Wiggins:
+@enumerate
+@item One codebase tracked in revision control, many deploys
+@item Explicitly declare and isolate dependencies
+@item Store config in the environment
+@item Treat backing services as attached resources
+@item Strictly separate build and run stages
+@item Execute the app as one or more stateless processes
+@item Export services via port binding
+@item Scale out via the process model
+@item Maximize robustness with fast startup and graceful shutdown
+@item Keep development, staging, and production as similar as possible
+@item Treat logs as event streams
+@item Run admin/management tasks as one-off processes
+@end enumerate")
+    (license license:bsd-4)))
+
 (define-public python-bitstruct
   (package
     (name "python-bitstruct")
-- 
2.33.0





This bug report was last modified 340 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.