1{ stdenv, buildPythonPackage, fetchPypi
2, pytz }:
3
4buildPythonPackage rec {
5 pname = "tzlocal";
6 version = "2.1";
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 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}