1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, django 5, static3 6}: 7 8buildPythonPackage rec { 9 pname = "dj-static"; 10 version = "0.0.6"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "heroku-python"; 15 repo = "dj-static"; 16 rev = "v${version}"; 17 hash = "sha256-B6TydlezbDkmfFgJjdFniZIYo/JjzPvFj43co+HYCdc="; 18 }; 19 20 buildInputs = [ 21 django 22 ]; 23 24 propagatedBuildInputs = [ 25 static3 26 ]; 27 28 pythonImportsCheck = [ 29 "dj_static" 30 ]; 31 32 doCheck = false; 33 34 meta = with lib; { 35 description = "Serve production static files with Django"; 36 homepage = "https://github.com/heroku-python/dj-static"; 37 license = licenses.bsd2; 38 maintainers = with maintainers; [ hexa ]; 39 }; 40}