15 buildPythonPackage rec {
16 pname = "django-configurations";
18 format = "setuptools";
20 disabled = pythonOlder "3.6";
23 inherit pname version;
24 hash = "sha256-Y/olLEDciOoXuLkPX0oxonJuWGrLH/Dtx0wijGHxnl0=";
31 propagatedBuildInputs = [
33 ] ++ lib.optionals (pythonOlder "3.8") [
46 export PYTHONPATH=.:$PYTHONPATH
47 export DJANGO_SETTINGS_MODULE="tests.settings.main"
48 export DJANGO_CONFIGURATION="Test"
49 ${django}/bin/django-admin.py test
52 # django.core.exceptions.ImproperlyConfigured: django-configurations settings importer wasn't correctly installed
55 pythonImportsCheck = [
60 description = "A helper for organizing Django settings";
61 homepage = "https://django-configurations.readthedocs.io/";
62 license = licenses.bsd0;
63 maintainers = with maintainers; [ ];