2017-09-05 09:16:41 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2018-07-21 00:44:44 +00:00
|
|
|
, pytz }:
|
2017-09-05 09:16:41 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "tzlocal";
|
2019-10-24 06:47:50 +00:00
|
|
|
version = "2.0.0";
|
2017-09-05 09:16:41 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ pytz ];
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 06:47:50 +00:00
|
|
|
sha256 = "949b9dd5ba4be17190a80c0268167d7e6c92c62b30026cf9764caf3e308e5590";
|
2017-09-05 09:16:41 +00: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;
|
|
|
|
};
|
|
|
|
}
|