Merge pull request #89397 from timokau/flask-autoindex-py2-unbreak

python2.pkgs.flask-autoindex: fix build
This commit is contained in:
Timo Kaufmann 2020-06-03 13:49:18 +02:00 committed by GitHub
commit 3f3b93b141
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,11 @@
{ stdenv
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, flask
, flask-silk
, future
, pathlib
}:
buildPythonPackage rec {
@ -19,9 +21,11 @@ buildPythonPackage rec {
flask
flask-silk
future
] ++ lib.optionals (pythonOlder "3.4") [
pathlib
];
meta = with stdenv.lib; {
meta = with lib; {
description = "The mod_autoindex for Flask";
longDescription = ''
Flask-AutoIndex generates an index page for your Flask application automatically.