diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2023-02-24 11:22:28 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2023-02-24 11:43:16 +0100 |
commit | b958cbfeac0c4805d2ddda309d0a0addde3e66f5 (patch) | |
tree | f24c1b32be5766c832f64fe4858ae14e655bb9b8 /pkgs/development/python-modules/flask-autoindex | |
parent | 5bf951f9f86d41204c5de2c77268a875ab58f9ad (diff) |
python310Packages.flask-autoindex: disable on unsupported Python releases
Diffstat (limited to 'pkgs/development/python-modules/flask-autoindex')
-rw-r--r-- | pkgs/development/python-modules/flask-autoindex/default.nix | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/flask-autoindex/default.nix b/pkgs/development/python-modules/flask-autoindex/default.nix index d770ce55c8c8f..5ca5f21e2eb72 100644 --- a/pkgs/development/python-modules/flask-autoindex/default.nix +++ b/pkgs/development/python-modules/flask-autoindex/default.nix @@ -1,16 +1,17 @@ { lib , buildPythonPackage -, pythonOlder , fetchPypi , flask , flask-silk -, future -, pathlib +, pythonOlder }: buildPythonPackage rec { pname = "flask-autoindex"; version = "0.6.6"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { pname = "Flask-AutoIndex"; @@ -21,9 +22,6 @@ buildPythonPackage rec { propagatedBuildInputs = [ flask flask-silk - future - ] ++ lib.optionals (pythonOlder "3.4") [ - pathlib ]; pythonImportsCheck = [ |