mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 00:10:30 +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 {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "calibre-web";
|
pname = "calibre-web";
|
||||||
version = "0.6.11";
|
version = "0.6.12";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "janeczku";
|
owner = "janeczku";
|
||||||
repo = "calibre-web";
|
repo = "calibre-web";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "10sjllhhcamswpa1wlim4mbm2zl4g804bwly5p4nmklg7n1v226g";
|
sha256 = "sha256-IgS281qDxG302UznC63nZH8/ty4fgFtn+lLYdakGA4w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
substituteInPlace setup.cfg \
|
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 "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 "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 = [
|
patches = [
|
||||||
|
@ -54,7 +52,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
flask_login
|
flask_login
|
||||||
flask_principal
|
flask_principal
|
||||||
iso-639
|
iso-639
|
||||||
pypdf2
|
pypdf3
|
||||||
requests
|
requests
|
||||||
sqlalchemy
|
sqlalchemy
|
||||||
tornado
|
tornado
|
||||||
|
|
Loading…
Reference in a new issue