diff --git a/pkgs/applications/misc/etesync-dav/default.nix b/pkgs/applications/misc/etesync-dav/default.nix index a301b12506c9..b1fb1fea467c 100644 --- a/pkgs/applications/misc/etesync-dav/default.nix +++ b/pkgs/applications/misc/etesync-dav/default.nix @@ -1,5 +1,6 @@ { lib , stdenv +, fetchpatch , python3 , radicale3 }: @@ -47,6 +48,14 @@ in python.pkgs.buildPythonApplication rec { hash = "sha256-pOLug5MnVdKaw5wedABewomID9LU0hZPCf4kZKKU1yA="; }; + patches = [ + (fetchpatch { + name = "add-missing-comma-in-setup.py.patch"; + url = "https://github.com/etesync/etesync-dav/commit/040cb7b57205e70515019fb356e508a6414da11e.patch"; + hash = "sha256-87IpIQ87rgpinvbRwUlWd0xeegn0zfVSiDFYNUqPerg="; + }) + ]; + propagatedBuildInputs = with python.pkgs; [ appdirs etebase @@ -57,6 +66,7 @@ in python.pkgs.buildPythonApplication rec { setuptools (python.pkgs.toPythonModule (radicale3.override { python3 = python; })) requests + types-setuptools ] ++ requests.optional-dependencies.socks; doCheck = false;