diff options
Diffstat (limited to 'overlays/etesync-dav.nix')
-rw-r--r-- | overlays/etesync-dav.nix | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/overlays/etesync-dav.nix b/overlays/etesync-dav.nix new file mode 100644 index 00000000..cec216e2 --- /dev/null +++ b/overlays/etesync-dav.nix | |||
@@ -0,0 +1,57 @@ | |||
1 | { final, prev, ... }: { | ||
2 | etesync-dav = prev.python3Packages.buildPythonApplication rec { | ||
3 | pname = "etesync-dav"; | ||
4 | version = "0.33.4"; | ||
5 | |||
6 | src = prev.fetchFromGitHub { | ||
7 | owner = "etesync"; | ||
8 | repo = "etesync-dav"; | ||
9 | rev = "v${version}"; | ||
10 | hash = "sha256-g+rK762tSWPDaBsaTwpTzfK/lqVs+Z/Qrpq2HCpipQE="; | ||
11 | }; | ||
12 | |||
13 | dependencies = with prev.python3Packages; [ | ||
14 | appdirs | ||
15 | etebase | ||
16 | etesync | ||
17 | flask | ||
18 | flask-wtf | ||
19 | msgpack | ||
20 | setuptools | ||
21 | (toPythonModule (buildPythonApplication rec { | ||
22 | pname = "radicale"; | ||
23 | version = "3.2.3"; | ||
24 | pyproject = true; | ||
25 | |||
26 | src = prev.fetchFromGitHub { | ||
27 | owner = "Kozea"; | ||
28 | repo = "Radicale"; | ||
29 | rev = "refs/tags/v${version}"; | ||
30 | hash = "sha256-1IlnXVetQQuKBt6+QVKNeMM6qBQAiUhqc+4x3xOnSdE="; | ||
31 | }; | ||
32 | |||
33 | build-system = [ | ||
34 | setuptools | ||
35 | ]; | ||
36 | |||
37 | dependencies = | ||
38 | [ | ||
39 | defusedxml | ||
40 | passlib | ||
41 | vobject | ||
42 | pika | ||
43 | python-dateutil | ||
44 | pytz # https://github.com/Kozea/Radicale/issues/816 | ||
45 | ] | ||
46 | ++ passlib.optional-dependencies.bcrypt; | ||
47 | |||
48 | doCheck = false; | ||
49 | })) | ||
50 | requests | ||
51 | types-setuptools | ||
52 | requests.optional-dependencies.socks | ||
53 | ]; | ||
54 | |||
55 | doCheck = false; | ||
56 | }; | ||
57 | } | ||