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