From 3f267a07bee302f9aa4718ea3d9eea051bb6a0d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Wed, 14 Jan 2026 02:56:58 +0100 Subject: [PATCH] python3Packages.pytz-deprecation-shim: remove superfluous pythonOlder and pythonAtLeast --- .../python-modules/pytz-deprecation-shim/default.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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