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