calibre-web: 0.6.12 -> 0.6.13
calibre-web no longer starts without proper calibre DB path configured, so the default testcase (completely unconfigured) is removed. (cherry picked from commit 80f7656229efee8817880250b2ca097a69898330)
This commit is contained in:
parent
89a82934e3
commit
73fbbdab68
|
@ -11,10 +11,6 @@ import ./make-test-python.nix (
|
||||||
meta.maintainers = with pkgs.lib.maintainers; [ pborzenkov ];
|
meta.maintainers = with pkgs.lib.maintainers; [ pborzenkov ];
|
||||||
|
|
||||||
nodes = {
|
nodes = {
|
||||||
default = { ... }: {
|
|
||||||
services.calibre-web.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
customized = { pkgs, ... }: {
|
customized = { pkgs, ... }: {
|
||||||
services.calibre-web = {
|
services.calibre-web = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -33,12 +29,6 @@ import ./make-test-python.nix (
|
||||||
testScript = ''
|
testScript = ''
|
||||||
start_all()
|
start_all()
|
||||||
|
|
||||||
default.wait_for_unit("calibre-web.service")
|
|
||||||
default.wait_for_open_port(${toString defaultPort})
|
|
||||||
default.succeed(
|
|
||||||
"curl --fail 'http://localhost:${toString defaultPort}/basicconfig' | grep -q 'Basic Configuration'"
|
|
||||||
)
|
|
||||||
|
|
||||||
customized.succeed(
|
customized.succeed(
|
||||||
"mkdir /tmp/books && calibredb --library-path /tmp/books add -e --title test-book"
|
"mkdir /tmp/books && calibredb --library-path /tmp/books add -e --title test-book"
|
||||||
)
|
)
|
||||||
|
|
|
@ -7,13 +7,13 @@
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "calibre-web";
|
pname = "calibre-web";
|
||||||
version = "0.6.12";
|
version = "0.6.13";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "janeczku";
|
owner = "janeczku";
|
||||||
repo = "calibre-web";
|
repo = "calibre-web";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-IgS281qDxG302UznC63nZH8/ty4fgFtn+lLYdakGA4w=";
|
sha256 = "sha256-zU7ujvFPi4UaaEglIK3YX3TJxBME35NEKKblnJRt0tM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
|
@ -52,6 +52,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
flask_login
|
flask_login
|
||||||
flask_principal
|
flask_principal
|
||||||
iso-639
|
iso-639
|
||||||
|
lxml
|
||||||
pypdf3
|
pypdf3
|
||||||
requests
|
requests
|
||||||
sqlalchemy
|
sqlalchemy
|
||||||
|
|
Loading…
Reference in New Issue