2019-07-17 01:35:29 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, lib
|
|
|
|
, fetchPypi
|
2020-01-06 16:10:03 +00:00
|
|
|
, isPy27
|
2019-07-17 01:35:29 +00:00
|
|
|
, numba
|
|
|
|
, numpy
|
2020-09-14 07:06:52 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
, pytestcov
|
2019-07-17 01:35:29 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "timezonefinder";
|
2020-11-29 14:04:44 +00:00
|
|
|
version = "4.5.0";
|
2019-07-17 01:35:29 +00:00
|
|
|
|
2020-01-06 16:10:03 +00:00
|
|
|
disabled = isPy27;
|
|
|
|
|
2019-07-17 01:35:29 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:44 +00:00
|
|
|
sha256 = "99b0cea5abf304e8738ecf5cceae0c0e5182534843f19638a26a220fa212fbad";
|
2019-07-17 01:35:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
];
|
|
|
|
|
2020-09-14 07:06:52 +00:00
|
|
|
checkInputs = [ numba pytestCheckHook pytestcov ];
|
2019-07-17 01:35:29 +00: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;
|
|
|
|
};
|
|
|
|
}
|