1{ 2 lib, 3 buildPythonPackage, 4 django, 5 fetchPypi, 6 pythonOlder, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "django-environ"; 12 version = "0.12.0"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.9"; 16 17 src = fetchPypi { 18 pname = "django_environ"; 19 inherit version; 20 hash = "sha256-In3IkUU91b3nacNEnPSnS28u6PerI2HJOgcGj0F5BBo="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 buildInputs = [ django ]; 26 27 # The testsuite fails to modify the base environment 28 doCheck = false; 29 30 pythonImportsCheck = [ "environ" ]; 31 32 meta = with lib; { 33 description = "Utilize environment variables to configure your Django application"; 34 homepage = "https://github.com/joke2k/django-environ/"; 35 changelog = "https://github.com/joke2k/django-environ/releases/tag/v${version}"; 36 license = licenses.mit; 37 maintainers = with maintainers; [ ]; 38 }; 39}