blob: ee6259d1e90100c1bf3c18e965d9aad6d3fa664b (
plain) (
blame)
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
36
37
38
39
|
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, flask
, flask-silk
, future
, pathlib
}:
buildPythonPackage rec {
pname = "flask-autoindex";
version = "0.6.6";
src = fetchPypi {
pname = "Flask-AutoIndex";
inherit version;
sha256 = "ea319f7ccadf68ddf98d940002066278c779323644f9944b300066d50e2effc7";
};
propagatedBuildInputs = [
flask
flask-silk
future
] ++ lib.optionals (pythonOlder "3.4") [
pathlib
];
meta = with lib; {
description = "The mod_autoindex for Flask";
longDescription = ''
Flask-AutoIndex generates an index page for your Flask application automatically.
The result is just like mod_autoindex, but the look is more awesome!
'';
license = licenses.bsd2;
maintainers = teams.sage.members;
homepage = "https://pythonhosted.org/Flask-AutoIndex/";
};
}
|