calibre-web: fix build (#121796)

This commit is contained in:
Robert Schütz 2021-05-05 15:14:15 +02:00 committed by GitHub
parent ff5fdec093
commit 406fddaa22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,9 @@ python3.pkgs.buildPythonApplication rec {
prePatch = ''
substituteInPlace setup.cfg \
--replace "singledispatch>=3.4.0.0,<3.5.0.0" "" \
--replace "requests>=2.11.1,<2.25.0" "requests>=2.11.1,<2.26.0" \
--replace "unidecode>=0.04.19,<1.2.0" "unidecode>=0.04.19" \
--replace "cps = calibreweb:main" "calibre-web = calibreweb:main"
'';