2021-01-25 08:26:54 +00:00
{ lib , buildPythonPackage , fetchPypi
2019-09-23 11:20:13 +01: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 " ;
2022-08-27 09:50:54 +01:00
version = " 1 . 1 4 . 0 " ;
2019-09-23 11:20:13 +01:00
src = fetchPypi {
inherit pname version ;
2022-08-27 09:50:54 +01:00
sha256 = " s h a 2 5 6 - w A q 8 u N U k B n O Q p m U Y z 8 0 y a D u H r T z G I N W R N k n 8 d w e 4 C D M = " ;
2019-09-23 11:20:13 +01:00
} ;
2020-08-25 03:07:09 +01:00
propagatedBuildInputs = [ six django persisting-theory ] ;
2019-09-23 11:20:13 +01: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-11 07:54:33 +00:00
meta = with lib ; {
2020-04-01 02:11:51 +01: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 " ;
2019-09-23 11:20:13 +01:00
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 ] ;
} ;
}