2020-06-18 07:06:33 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, flask
|
|
|
|
, flask-silk
|
|
|
|
, future
|
2023-03-04 12:14:45 +00:00
|
|
|
, pythonOlder
|
|
|
|
, unittestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2023-03-04 12:14:45 +00:00
|
|
|
pname = "flask-autoindex";
|
2020-06-02 18:00:15 +00:00
|
|
|
version = "0.6.6";
|
2023-03-04 12:14:45 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2023-03-04 12:14:45 +00:00
|
|
|
pname = "Flask-AutoIndex";
|
|
|
|
inherit version;
|
2020-06-02 18:00:15 +00:00
|
|
|
sha256 = "ea319f7ccadf68ddf98d940002066278c779323644f9944b300066d50e2effc7";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
flask
|
|
|
|
flask-silk
|
|
|
|
future
|
2023-03-04 12:14:45 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
nativeCheckInputs = [
|
|
|
|
unittestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"flask_autoindex"
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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!
|
|
|
|
'';
|
2023-03-04 12:14:45 +00:00
|
|
|
homepage = "https://flask-autoindex.readthedocs.io/";
|
|
|
|
changelog = "https://github.com/general03/flask-autoindex/blob/v${version}/CHANGELOG.md";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.bsd2;
|
2020-11-21 19:51:51 +00:00
|
|
|
maintainers = teams.sage.members;
|
2023-03-04 12:14:45 +00:00
|
|
|
# https://github.com/general03/flask-autoindex/issues/67
|
|
|
|
broken = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|