python311Packages.flask-autoindex: drop

Incompatible with Flask 3.0 and unmaintained since 2020.
This commit is contained in:
Martin Weinelt 2024-01-26 01:34:57 +01:00
parent 22e69038a6
commit 68c9550fc7
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
3 changed files with 1 additions and 53 deletions

View File

@ -1,51 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, flask
, flask-silk
, future
, pythonOlder
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "flask-autoindex";
version = "0.6.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "Flask-AutoIndex";
inherit version;
sha256 = "ea319f7ccadf68ddf98d940002066278c779323644f9944b300066d50e2effc7";
};
propagatedBuildInputs = [
flask
flask-silk
future
];
nativeCheckInputs = [
unittestCheckHook
];
pythonImportsCheck = [
"flask_autoindex"
];
meta = with 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!
'';
homepage = "https://flask-autoindex.readthedocs.io/";
changelog = "https://github.com/general03/flask-autoindex/blob/v${version}/CHANGELOG.md";
license = licenses.bsd2;
maintainers = teams.sage.members;
# https://github.com/general03/flask-autoindex/issues/67
broken = true;
};
}

View File

@ -164,6 +164,7 @@ mapAliases ({
flask_sqlalchemy = flask-sqlalchemy; # added 2022-07-20
flask_testing = flask-testing; # added 2022-04-25
flask_wtf = flask-wtf; # added 2022-05-24
flask-autoindex = throw "flask-autoindex was removed, as it is not compatible with flask 3.0 and unmaintained since 2020.";
flask-basicauth = throw "flask-basicauth was removed, as it is not compatible with flask 3.0 and unmaintained since 2016.";
flask-sessionstore = throw "flask-sessionstore was removed, as it is not compatible with flask 3.0 and unmaintained since 2017.";
flowlogs_reader = flowlogs-reader; # added 2024-01-03

View File

@ -4097,8 +4097,6 @@ self: super: with self; {
flask-assets = callPackage ../development/python-modules/flask-assets { };
flask-autoindex = callPackage ../development/python-modules/flask-autoindex { };
flask-babel = callPackage ../development/python-modules/flask-babel { };
flask-babelex = callPackage ../development/python-modules/flask-babelex { };