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 { lib
, stdenv , stdenv
, fetchpatch
, python3 , python3
, radicale3 , radicale3
}: }:
@ -47,6 +48,14 @@ in python.pkgs.buildPythonApplication rec {
hash = "sha256-pOLug5MnVdKaw5wedABewomID9LU0hZPCf4kZKKU1yA="; 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; [ propagatedBuildInputs = with python.pkgs; [
appdirs appdirs
etebase etebase
@ -57,6 +66,7 @@ in python.pkgs.buildPythonApplication rec {
setuptools setuptools
(python.pkgs.toPythonModule (radicale3.override { python3 = python; })) (python.pkgs.toPythonModule (radicale3.override { python3 = python; }))
requests requests
types-setuptools
] ++ requests.optional-dependencies.socks; ] ++ requests.optional-dependencies.socks;
doCheck = false; doCheck = false;