2017-09-05 11:16:41 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2018-07-21 02:44:44 +02:00
|
|
|
, pytz }:
|
2017-09-05 11:16:41 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "tzlocal";
|
2017-12-30 12:28:22 +01:00
|
|
|
version = "1.5.1";
|
2017-09-05 11:16:41 +02:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ pytz ];
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-12-30 12:28:22 +01:00
|
|
|
sha256 = "4ebeb848845ac898da6519b9b31879cf13b6626f7184c496037b818e238f2c4e";
|
2017-09-05 11:16:41 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
# test fail (timezone test fail)
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Tzinfo object for the local timezone";
|
|
|
|
homepage = https://github.com/regebro/tzlocal;
|
|
|
|
license = licenses.cddl;
|
|
|
|
};
|
|
|
|
}
|