Merge pull request #139651 from pborzenkov/calibre-web-0.6.13

calibre-web: 0.6.12 -> 0.6.13
This commit is contained in:
Robert Scott 2021-10-06 20:36:08 +01:00 committed by GitHub
commit 1d5953184a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 12 deletions

View file

@ -11,10 +11,6 @@ import ./make-test-python.nix (
meta.maintainers = with pkgs.lib.maintainers; [ pborzenkov ];
nodes = {
default = { ... }: {
services.calibre-web.enable = true;
};
customized = { pkgs, ... }: {
services.calibre-web = {
enable = true;
@ -33,12 +29,6 @@ import ./make-test-python.nix (
testScript = ''
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 'Basic Configuration'"
)
customized.succeed(
"mkdir /tmp/books && calibredb --library-path /tmp/books add -e --title test-book"
)

View file

@ -7,13 +7,13 @@
python3.pkgs.buildPythonApplication rec {
pname = "calibre-web";
version = "0.6.12";
version = "0.6.13";
src = fetchFromGitHub {
owner = "janeczku";
repo = "calibre-web";
rev = version;
sha256 = "sha256-IgS281qDxG302UznC63nZH8/ty4fgFtn+lLYdakGA4w=";
sha256 = "sha256-zU7ujvFPi4UaaEglIK3YX3TJxBME35NEKKblnJRt0tM=";
};
prePatch = ''
@ -53,6 +53,7 @@ python3.pkgs.buildPythonApplication rec {
flask_login
flask_principal
iso-639
lxml
pypdf3
requests
sqlalchemy