From 8d881b0d7b3bcadcec37c5c883b81c1712655d37 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Tue, 18 Aug 2020 00:49:30 -0700 Subject: [PATCH] python2Packages.caldav: fix build --- pkgs/development/python-modules/caldav/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/caldav/default.nix b/pkgs/development/python-modules/caldav/default.nix index 0d96372abfcd..57dffe89fc32 100644 --- a/pkgs/development/python-modules/caldav/default.nix +++ b/pkgs/development/python-modules/caldav/default.nix @@ -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 ];