2021-02-05 17:12:51 +00:00
{ lib , buildPythonPackage , fetchPypi
2020-04-24 23:36:52 +00:00
, django , persisting-theory , six
} :
buildPythonPackage rec {
pname = " d j a n g o - d y n a m i c - p r e f e r e n c e s " ;
2021-10-11 16:52:03 +00:00
version = " 1 . 1 1 . 0 " ;
2020-04-24 23:36:52 +00:00
src = fetchPypi {
inherit pname version ;
2021-10-11 16:52:03 +00:00
sha256 = " f 2 1 4 c 9 3 8 b 5 8 7 2 a 1 7 6 4 7 e 2 b 2 c c f d 9 a d 0 0 a 9 0 a 3 c 6 c 4 a a 8 3 f a 6 5 d 3 c 5 c 4 4 6 e 7 a 6 6 c 7 " ;
2020-04-24 23:36:52 +00:00
} ;
2020-09-25 04:45:31 +00:00
propagatedBuildInputs = [ six django persisting-theory ] ;
2020-04-24 23:36:52 +00:00
# django.core.exceptions.ImproperlyConfigured: Requested setting DYNAMIC_PREFERENCES, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings
doCheck = false ;
2021-01-15 22:18:51 +00:00
meta = with lib ; {
2020-04-24 23:36:52 +00:00
homepage = " h t t p s : / / g i t h u b . c o m / E l i o t B e r r i o t / d j a n g o - d y n a m i c - p r e f e r e n c e s " ;
description = " D y n a m i c g l o b a l a n d i n s t a n c e s e t t i n g s f o r y o u r d j a n g o p r o j e c t " ;
license = licenses . bsd3 ;
maintainers = with maintainers ; [ mmai ] ;
} ;
}