15 buildPythonPackage rec {
16 pname = "pytz-deprecation-shim";
17 version = "0.1.0.post0";
22 pname = "pytz_deprecation_shim";
24 sha256 = "af097bae1b616dde5c5744441e2ddc69e74dfdcb0c263129610d85b87445a59d";
27 nativeBuildInputs = [ setuptools ];
29 propagatedBuildInputs = (lib.optionals (pythonAtLeast "3.6" && pythonOlder "3.9") [
31 ]) ++ (lib.optionals (pythonOlder "3.6") [
33 ]) ++ (lib.optionals (pythonAtLeast "3.6") [
43 # https://github.com/pganssle/pytz-deprecation-shim/issues/27
44 doCheck = pythonAtLeast "3.9";
47 "test_localize_explicit_is_dst"
51 description = "Shims to make deprecation of pytz easier";
52 homepage = "https://github.com/pganssle/pytz-deprecation-shim";
53 license = licenses.asl20;
54 maintainers = with maintainers; [ dotlambda ];