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-10-06 11:56:17 +01:00
|
|
|
version = "0.6.2";
|
2018-04-11 17:53:31 +01:00
|
|
|
|
2018-07-06 21:47:40 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-06 11:56:17 +01:00
|
|
|
sha256 = "af2cdb34eefe6edbf43ce19200880829e8c2df3598000e75dc63c9b7e3478706";
|
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
|
|
|
};
|
|
|
|
}
|