Unverified Commit 009f9d6e authored by Timo Kaufmann's avatar Timo Kaufmann Committed by GitHub
Browse files

Merge pull request #218001 from fabaff/flask-autoindex-fix

python310Packages.flask-autoindex: mark as broken 
parents 43ceab5a c7708e48
Loading
Loading
Loading
Loading
+20 −7
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, flask
, flask-silk
, future
, pathlib
, pythonOlder
, unittestCheckHook
}:

buildPythonPackage rec {
  pname = "Flask-AutoIndex";
  pname = "flask-autoindex";
  version = "0.6.6";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    pname = "Flask-AutoIndex";
    inherit version;
    sha256 = "ea319f7ccadf68ddf98d940002066278c779323644f9944b300066d50e2effc7";
  };

@@ -21,8 +25,14 @@ buildPythonPackage rec {
    flask
    flask-silk
    future
  ] ++ lib.optionals (pythonOlder "3.4") [
    pathlib
  ];

  nativeCheckInputs = [
    unittestCheckHook
  ];

  pythonImportsCheck = [
    "flask_autoindex"
  ];

  meta = with lib; {
@@ -31,8 +41,11 @@ buildPythonPackage rec {
      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;
    homepage = "https://pythonhosted.org/Flask-AutoIndex/";
    # https://github.com/general03/flask-autoindex/issues/67
    broken = true;
  };
}