From dcd21563ad39bfce978b00546f8fb5fa8a67b7dd Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Sun, 18 Sep 2022 14:31:31 -0700 Subject: [PATCH] python3Packages.pytz-deprecation-shim: add setuptools to nativeBuildInputs --- .../python-modules/pytz-deprecation-shim/default.nix | 3 +++ 1 file changed, 3 insertions(+) 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") [