etesync-dav: fix build

This commit is contained in:
Robert Schütz 2023-04-29 12:49:00 -07:00
parent f81a619c91
commit 32cc037ff6

View File

@ -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;