6 , pytz-deprecation-shim
11 buildPythonPackage rec {
13 version = "4.2"; # version needs to be compatible with APScheduler
15 disabled = pythonOlder "3.6";
18 inherit pname version;
19 sha256 = "ee5842fa3a795f023514ac2d801c4a81d1743bbe642e3940143326b3a00addd7";
22 propagatedBuildInputs = [
34 "test_symlink_localtime"
35 ] ++ lib.optional stdenv.isDarwin "test_assert_tz_offset";
37 pythonImportsCheck = [ "tzlocal" ];
40 description = "Tzinfo object for the local timezone";
41 homepage = "https://github.com/regebro/tzlocal";
42 changelog = "https://github.com/regebro/tzlocal/blob/${version}/CHANGES.txt";
43 license = licenses.cddl;
44 maintainers = with maintainers; [ dotlambda ];