Merge pull request #89397 from timokau/flask-autoindex-py2-unbreak
python2.pkgs.flask-autoindex: fix build
This commit is contained in:
commit
3f3b93b141
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user