diff options
Diffstat (limited to 'hosts/surtr/http')
-rw-r--r-- | hosts/surtr/http/webdav/default.nix | 8 | ||||
-rw-r--r-- | hosts/surtr/http/webdav/py-webdav/setup.py | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/hosts/surtr/http/webdav/default.nix b/hosts/surtr/http/webdav/default.nix index f0aec1e9..5f2955bc 100644 --- a/hosts/surtr/http/webdav/default.nix +++ b/hosts/surtr/http/webdav/default.nix | |||
@@ -1,4 +1,7 @@ | |||
1 | { config, libs, pkgs, flakeInputs, ... }: | 1 | { config, lib, pkgs, flakeInputs, ... }: |
2 | |||
3 | with lib; | ||
4 | |||
2 | let | 5 | let |
3 | webdavSocket = config.services.uwsgi.runDir + "/webdav.sock"; | 6 | webdavSocket = config.services.uwsgi.runDir + "/webdav.sock"; |
4 | 7 | ||
@@ -10,9 +13,10 @@ let | |||
10 | python = "python3"; | 13 | python = "python3"; |
11 | requirements = '' | 14 | requirements = '' |
12 | PyNaCl ==1.5.* | 15 | PyNaCl ==1.5.* |
13 | psycopg ==3.0.* | ||
14 | WsgiDAV ==4.0.* | 16 | WsgiDAV ==4.0.* |
15 | ''; | 17 | ''; |
18 | # psycopg >=3.0.15,<3.1 | ||
19 | # _.psycopg.patches = []; | ||
16 | }; | 20 | }; |
17 | in { | 21 | in { |
18 | config = { | 22 | config = { |
diff --git a/hosts/surtr/http/webdav/py-webdav/setup.py b/hosts/surtr/http/webdav/py-webdav/setup.py index dbe345c1..d59c2548 100644 --- a/hosts/surtr/http/webdav/py-webdav/setup.py +++ b/hosts/surtr/http/webdav/py-webdav/setup.py | |||
@@ -11,7 +11,7 @@ setuptools.setup( | |||
11 | python_requires=">=3.8", | 11 | python_requires=">=3.8", |
12 | install_requires=[ | 12 | install_requires=[ |
13 | "PyNaCl ==1.5.*", | 13 | "PyNaCl ==1.5.*", |
14 | "psycopg ==3.0.*", | 14 | # "psycopg ==3.0.*", |
15 | "WsgiDAV ==4.0.*", | 15 | "WsgiDAV ==4.0.*", |
16 | ], | 16 | ], |
17 | ) | 17 | ) |