From 7abac181d3c3cbb91d424fe0c973a5bc83df2aa9 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 11 Dec 2024 08:45:08 +0100 Subject: ... --- overlays/etesync-dav.nix | 57 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 overlays/etesync-dav.nix (limited to 'overlays/etesync-dav.nix') 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 @@ +{ final, prev, ... }: { + etesync-dav = prev.python3Packages.buildPythonApplication rec { + pname = "etesync-dav"; + version = "0.33.4"; + + src = prev.fetchFromGitHub { + owner = "etesync"; + repo = "etesync-dav"; + rev = "v${version}"; + hash = "sha256-g+rK762tSWPDaBsaTwpTzfK/lqVs+Z/Qrpq2HCpipQE="; + }; + + dependencies = with prev.python3Packages; [ + appdirs + etebase + etesync + flask + flask-wtf + msgpack + setuptools + (toPythonModule (buildPythonApplication rec { + pname = "radicale"; + version = "3.2.3"; + pyproject = true; + + src = prev.fetchFromGitHub { + owner = "Kozea"; + repo = "Radicale"; + rev = "refs/tags/v${version}"; + hash = "sha256-1IlnXVetQQuKBt6+QVKNeMM6qBQAiUhqc+4x3xOnSdE="; + }; + + build-system = [ + setuptools + ]; + + dependencies = + [ + defusedxml + passlib + vobject + pika + python-dateutil + pytz # https://github.com/Kozea/Radicale/issues/816 + ] + ++ passlib.optional-dependencies.bcrypt; + + doCheck = false; + })) + requests + types-setuptools + requests.optional-dependencies.socks + ]; + + doCheck = false; + }; +} -- cgit v1.2.3