mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
calibre-web: 0.6.11 -> 0.6.12
This commit is contained in:
parent
fb81b07672
commit
62bdc5114a
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue