8 , django-discover-runner
16 buildPythonPackage rec {
17 pname = "django-configurations";
19 format = "setuptools";
21 disabled = pythonOlder "3.6";
24 inherit pname version;
25 sha256 = "sha256-IrmWTmtlfa/Ho1QQoRXSDxRRFJqCc3rcbDMew2WIgZY=";
32 propagatedBuildInputs = [
34 ] ++ lib.optionals (pythonOlder "3.8") [
39 django-discover-runner
48 export PYTHONPATH=.:$PYTHONPATH
49 export DJANGO_SETTINGS_MODULE="tests.settings.main"
50 export DJANGO_CONFIGURATION="Test"
51 ${django}/bin/django-admin.py test
54 # django.core.exceptions.ImproperlyConfigured: django-configurations settings importer wasn't correctly installed
57 pythonImportsCheck = [
62 description = "A helper for organizing Django settings";
63 homepage = "https://django-configurations.readthedocs.io/";
64 license = licenses.bsd0;
65 maintainers = with maintainers; [ costrouc ];