1{ stdenv, buildPythonPackage, fetchPypi
2, tzlocal, pytz }:
3
4buildPythonPackage rec {
5 name = "${pname}-${version}";
6 pname = "tzlocal";
7 version = "1.5.1";
8
9 propagatedBuildInputs = [ pytz ];
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "4ebeb848845ac898da6519b9b31879cf13b6626f7184c496037b818e238f2c4e";
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}