python2Packages.caldav: fix build

This commit is contained in:
Jonathan Ringer 2020-08-18 00:49:30 -07:00 committed by Jon
parent 7dba683656
commit 8d881b0d7b

@ -4,6 +4,7 @@
, pythonOlder
, icalendar
, lxml
, mock
, nose
, pytz
, requests
@ -23,6 +24,7 @@ buildPythonPackage rec {
sha256 = "0m64maiqp3k8fsgkkvdx1dlfhkc70pqig4dclq6w8ajz82czrq83";
};
nativeBuildInputs = lib.optionals (pythonOlder "3.5") [ mock ];
propagatedBuildInputs = [ six requests vobject lxml ]
++ lib.optionals (pythonOlder "3.6") [ pytz tzlocal ];