2018-04-11 16:53:31 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
2018-07-06 20:47:40 +00:00
|
|
|
, fetchPypi
|
2018-04-11 16:53:31 +00:00
|
|
|
, flask
|
|
|
|
, flask-silk
|
|
|
|
, future
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Flask-AutoIndex";
|
2018-10-06 10:56:17 +00:00
|
|
|
version = "0.6.2";
|
2018-04-11 16:53:31 +00:00
|
|
|
|
2018-07-06 20:47:40 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-06 10:56:17 +00:00
|
|
|
sha256 = "af2cdb34eefe6edbf43ce19200880829e8c2df3598000e75dc63c9b7e3478706";
|
2018-04-11 16:53:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
flask
|
|
|
|
flask-silk
|
|
|
|
future
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.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 = with maintainers; [ timokau ];
|
2018-06-27 20:12:57 +00:00
|
|
|
homepage = https://pythonhosted.org/Flask-AutoIndex/;
|
2018-04-11 16:53:31 +00:00
|
|
|
};
|
|
|
|
}
|