diff --git a/pkgs/development/python-modules/pytz-deprecation-shim/default.nix b/pkgs/development/python-modules/pytz-deprecation-shim/default.nix index eccf8399ee29..e438936f7e49 100644 --- a/pkgs/development/python-modules/pytz-deprecation-shim/default.nix +++ b/pkgs/development/python-modules/pytz-deprecation-shim/default.nix @@ -5,6 +5,7 @@ , pythonOlder , backports-zoneinfo , python-dateutil +, setuptools , tzdata , hypothesis , pytestCheckHook @@ -23,6 +24,8 @@ buildPythonPackage rec { sha256 = "af097bae1b616dde5c5744441e2ddc69e74dfdcb0c263129610d85b87445a59d"; }; + nativeBuildInputs = [ setuptools ]; + propagatedBuildInputs = (lib.optionals (pythonAtLeast "3.6" && pythonOlder "3.9") [ backports-zoneinfo ]) ++ (lib.optionals (pythonOlder "3.6") [