Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 23 lines 518 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, pytz }: 3 4buildPythonPackage rec { 5 pname = "tzlocal"; 6 version = "2.0.0"; 7 8 propagatedBuildInputs = [ pytz ]; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "949b9dd5ba4be17190a80c0268167d7e6c92c62b30026cf9764caf3e308e5590"; 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}