diff mbox series

[bug#55474,v3,08/17] gnu: Add python-django-environ.

Message ID 20230417145337.12403-8-ngraves@ngraves.fr
State New
Headers show
Series [bug#55474,v3,01/17] gnu: python-django-taggit: Update to 3.1.0. | expand

Commit Message

Nicolas Graves April 17, 2023, 2:53 p.m. UTC
* gnu/packages/django.scm (python-django-environ): New variable.
---
 gnu/packages/django.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index f97a75a1fd..df3b886e05 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -190,6 +190,25 @@  (define-public python-django-2.2
 ;; Use 3.2 LTS as the default until packages gain support for 4.x.
 (define-public python-django python-django-3.2)
 
+(define-public python-django-environ
+  (package
+    (name "python-django-environ")
+    (version "0.10.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "django-environ" version))
+       (sha256
+        (base32 "09bjlzvi6avaa0cwjvfz5ihjqxv44f3ys70ckr57g7cw8f8rlmdk"))))
+    (build-system python-build-system)
+    (native-inputs (list python-coverage python-pytest))
+    (home-page "https://django-environ.readthedocs.io")
+    (synopsis
+     "Use environment variables to configure your Django application")
+    (description "This package provides 12factor inspired environment
+variables to configure your Django application.")
+    (license license:expat)))
+
 (define-public python-django-extensions
   (package
     (name "python-django-extensions")