diff --git a/pkgs/servers/calibre-web/default.nix b/pkgs/servers/calibre-web/default.nix index 240aae229deb..ef322524ca92 100644 --- a/pkgs/servers/calibre-web/default.nix +++ b/pkgs/servers/calibre-web/default.nix @@ -7,22 +7,20 @@ python3.pkgs.buildPythonApplication rec { pname = "calibre-web"; - version = "0.6.11"; + version = "0.6.12"; src = fetchFromGitHub { owner = "janeczku"; repo = "calibre-web"; rev = version; - sha256 = "10sjllhhcamswpa1wlim4mbm2zl4g804bwly5p4nmklg7n1v226g"; + sha256 = "sha256-IgS281qDxG302UznC63nZH8/ty4fgFtn+lLYdakGA4w="; }; 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" \ - --replace "Babel>=1.3, <2.9" "Babel>=1.3, <=2.9" + --replace "PyPDF3>=1.0.0,<1.0.4" "PyPDF3>=1.0.0" ''; patches = [ @@ -54,7 +52,7 @@ python3.pkgs.buildPythonApplication rec { flask_login flask_principal iso-639 - pypdf2 + pypdf3 requests sqlalchemy tornado