1{ lib, buildPythonPackage, fetchPypi 2, pytz }: 3 4buildPythonPackage rec { 5 pname = "tzlocal"; 6 version = "2.1"; # version needs to be compatible with APScheduler 7 8 propagatedBuildInputs = [ pytz ]; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "643c97c5294aedc737780a49d9df30889321cbe1204eac2c2ec6134035a92e44"; 13 }; 14 15 # test fail (timezone test fail) 16 doCheck = false; 17 18 pythonImportsCheck = [ "tzlocal" ]; 19 20 meta = with lib; { 21 description = "Tzinfo object for the local timezone"; 22 homepage = "https://github.com/regebro/tzlocal"; 23 license = licenses.cddl; 24 maintainers = with maintainers; [ dotlambda ]; 25 }; 26}