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 # https://github.com/pganssle/pytz-deprecation-shim/issues/30
45 # The test suite is just very flaky and breaks all the time
49 description = "Shims to make deprecation of pytz easier";
50 homepage = "https://github.com/pganssle/pytz-deprecation-shim";
51 license = licenses.asl20;
52 maintainers = with maintainers; [ dotlambda ];