Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 17.09 545 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, tzlocal, pytz }: 3 4buildPythonPackage rec { 5 name = "${pname}-${version}"; 6 pname = "tzlocal"; 7 version = "1.4"; 8 9 propagatedBuildInputs = [ pytz ]; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "0n9hw4kqblyc0avzwi26rqmvyk9impb608rvy11qifmigy7r18h5"; 14 }; 15 16 # test fail (timezone test fail) 17 doCheck = false; 18 19 meta = with stdenv.lib; { 20 description = "Tzinfo object for the local timezone"; 21 homepage = https://github.com/regebro/tzlocal; 22 license = licenses.cddl; 23 }; 24}