2018-04-11 17:53:31 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
2018-06-28 11:48:19 +01:00
|
|
|
, fetchFromGitHub
|
2018-04-11 17:53:31 +01:00
|
|
|
, flask
|
|
|
|
, flask-silk
|
|
|
|
, future
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Flask-AutoIndex";
|
2018-06-28 11:48:19 +01:00
|
|
|
version = "2018-06-28";
|
2018-04-11 17:53:31 +01:00
|
|
|
|
2018-06-28 11:48:19 +01:00
|
|
|
# master fixes various issues (binary generation, flask syntax) and has no
|
|
|
|
# major changes
|
|
|
|
# new release requested: https://github.com/sublee/flask-autoindex/issues/38
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sublee";
|
|
|
|
repo = "flask-autoindex";
|
|
|
|
rev = "e3d449a89d56bf4c171c7c8d90af028e579782cf";
|
|
|
|
sha256 = "0bwq2nid4h8vrxspggk064vra4wd804cl2ryyx4j2d1dyywmgjgy";
|
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
|
|
|
};
|
|
|
|
}
|