Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 27 lines 599 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, django 5, six 6}: 7 8buildPythonPackage rec { 9 pname = "django-environ"; 10 version = "0.4.5"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "6c9d87660142608f63ec7d5ce5564c49b603ea8ff25da595fd6098f6dc82afde"; 15 }; 16 17 # The testsuite fails to modify the base environment 18 doCheck = false; 19 propagatedBuildInputs = [ django six ]; 20 21 meta = with stdenv.lib; { 22 description = "Utilize environment variables to configure your Django application"; 23 homepage = "https://github.com/joke2k/django-environ/"; 24 license = licenses.mit; 25 }; 26 27}