1{ lib, buildPythonPackage, fetchPypi 2, django, persisting-theory, six 3}: 4 5buildPythonPackage rec { 6 pname = "django-dynamic-preferences"; 7 version = "1.11.0"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "f214c938b5872a17647e2b2ccfd9ad00a90a3c6c4aa83fa65d3c5c446e7a66c7"; 12 }; 13 14 propagatedBuildInputs = [ six django persisting-theory ]; 15 16 # 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 17 doCheck = false; 18 19 meta = with lib; { 20 homepage = "https://github.com/EliotBerriot/django-dynamic-preferences"; 21 description = "Dynamic global and instance settings for your django project"; 22 license = licenses.bsd3; 23 maintainers = with maintainers; [ mmai ]; 24 }; 25}