diff --git a/pkgs/development/python-modules/pytz-deprecation-shim/default.nix b/pkgs/development/python-modules/pytz-deprecation-shim/default.nix index dc52cab267e7..d9258a6ebc82 100644 --- a/pkgs/development/python-modules/pytz-deprecation-shim/default.nix +++ b/pkgs/development/python-modules/pytz-deprecation-shim/default.nix @@ -2,9 +2,6 @@ lib, buildPythonPackage, fetchPypi, - pythonAtLeast, - pythonOlder, - python-dateutil, setuptools, tzdata, hypothesis, @@ -26,9 +23,7 @@ buildPythonPackage rec { nativeBuildInputs = [ setuptools ]; - propagatedBuildInputs = - (lib.optionals (pythonOlder "3.6") [ python-dateutil ]) - ++ (lib.optionals (pythonAtLeast "3.6") [ tzdata ]); + propagatedBuildInputs = [ tzdata ]; nativeCheckInputs = [ hypothesis