2019-07-16 18:35:29 -07:00
|
|
|
{ buildPythonPackage
|
|
|
|
, lib
|
|
|
|
, fetchPypi
|
2020-01-06 08:10:03 -08:00
|
|
|
, isPy27
|
2019-07-16 18:35:29 -07:00
|
|
|
, numba
|
|
|
|
, numpy
|
2020-09-14 00:06:52 -07:00
|
|
|
, pytestCheckHook
|
|
|
|
, pytestcov
|
2019-07-16 18:35:29 -07:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "timezonefinder";
|
2020-11-29 06:04:44 -08:00
|
|
|
version = "4.5.0";
|
2019-07-16 18:35:29 -07:00
|
|
|
|
2020-01-06 08:10:03 -08:00
|
|
|
disabled = isPy27;
|
|
|
|
|
2019-07-16 18:35:29 -07:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 06:04:44 -08:00
|
|
|
sha256 = "99b0cea5abf304e8738ecf5cceae0c0e5182534843f19638a26a220fa212fbad";
|
2019-07-16 18:35:29 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
];
|
|
|
|
|
2020-09-14 00:06:52 -07:00
|
|
|
checkInputs = [ numba pytestCheckHook pytestcov ];
|
2019-07-16 18:35:29 -07:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "fast python package for finding the timezone of any point on earth (coordinates) offline";
|
|
|
|
homepage = "https://github.com/MrMinimal64/timezonefinder";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|