aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2017-04-22 19:18:46 +0200
committerJulien Lepiller <julien@lepiller.eu>2017-05-11 21:58:22 +0200
commit9f4a3059615350aee66f2fd19887505b1a50fe78 (patch)
tree2b5922f5ede1c48c41515d32cba7e1e5c4b404c7 /gnu/packages
parentb0395dd68e0bfca3a1f672d29128b8dc520e203e (diff)
downloadguix-9f4a3059615350aee66f2fd19887505b1a50fe78.tar
guix-9f4a3059615350aee66f2fd19887505b1a50fe78.tar.gz
gnu: Add python-django-appconf.
* gnu/packages/django.scm (python-django-appconf, python2-django-appconf): New variables.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/django.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index bf78cd0784..0a6a7e4256 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -572,3 +572,29 @@ the order of added relations.")
(define-public python2-django-sortedm2m
(package-with-python2 python-django-sortedm2m))
+
+(define-public python-django-appconf
+ (package
+ (name "python-django-appconf")
+ (version "1.0.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "django-appconf" version))
+ (sha256
+ (base32
+ "0qdjdx35g66xjsc50v0c5h3kg6njs8df33mbjx6j4k1vd3m9lkba"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-django" ,python-django)))
+ (home-page "https://github.com/django-compressor/django-appconf")
+ (synopsis "Handle configuration defaults of packaged Django apps")
+ (description
+ "This app precedes Django's own AppConfig classes that act as \"objects
+[to] store metadata for an application\" inside Django's app loading mechanism.
+In other words, they solve a related but different use case than
+django-appconf and can't easily be used as a replacement. The similarity in
+name is purely coincidental.")
+ (license license:bsd-3)))
+
+(define-public python2-django-appconf
+ (package-with-python2 python-django-appconf))