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