2020-04-24 23:36:52 +00:00
{ stdenv , buildPythonPackage , fetchPypi
, 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 " ;
2020-06-02 18:00:15 +00:00
version = " 1 . 8 . 1 " ;
2020-04-24 23:36:52 +00:00
src = fetchPypi {
inherit pname version ;
2020-06-02 18:00:15 +00:00
sha256 = " 7 2 7 f 7 1 f 8 6 5 f f 2 9 d f 9 3 c 0 1 a 0 a 1 6 8 6 a f 0 d c a 1 9 7 7 6 e e 7 8 6 f 8 7 6 e a 0 a e 7 e 0 6 2 7 1 9 b 2 4 " ;
2020-04-24 23:36:52 +00:00
} ;
propagatedBuildInputs = [ six django persisting-theory ] ;
# 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 ;
meta = with stdenv . lib ; {
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 ] ;
} ;
}