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