2018-04-11 17:53:31 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
2018-07-06 21:47:40 +01:00
|
|
|
, fetchPypi
|
2018-04-11 17:53:31 +01:00
|
|
|
, flask
|
|
|
|
, flask-silk
|
|
|
|
, future
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Flask-AutoIndex";
|
2018-07-06 21:47:40 +01:00
|
|
|
version = "0.6.1";
|
2018-04-11 17:53:31 +01:00
|
|
|
|
2018-07-06 21:47:40 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0v87sa073hmj64f47sazbiw08kyxsxay100bd5084jwq7c1y92d7";
|
2018-04-11 17:53:31 +01: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 21:12:57 +01:00
|
|
|
homepage = https://pythonhosted.org/Flask-AutoIndex/;
|
2018-04-11 17:53:31 +01:00
|
|
|
};
|
|
|
|
}
|