Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 django, 6 six, 7}: 8 9buildPythonPackage rec { 10 pname = "django-environ"; 11 version = "0.11.2"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-8yqHqgiZiUwn1OF3b6a0d+gWTtf2s+QQpiptcsqvZL4="; 17 }; 18 19 # The testsuite fails to modify the base environment 20 doCheck = false; 21 propagatedBuildInputs = [ 22 django 23 six 24 ]; 25 26 meta = with lib; { 27 description = "Utilize environment variables to configure your Django application"; 28 homepage = "https://github.com/joke2k/django-environ/"; 29 license = licenses.mit; 30 }; 31}