2019-07-17 03:35:29 +02:00
|
|
|
{ buildPythonPackage
|
|
|
|
, lib
|
|
|
|
, fetchPypi
|
2020-01-06 17:10:03 +01:00
|
|
|
, isPy27
|
2019-07-17 03:35:29 +02:00
|
|
|
, numba
|
|
|
|
, numpy
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "timezonefinder";
|
2020-06-06 08:47:34 +02:00
|
|
|
version = "4.4.0";
|
2019-07-17 03:35:29 +02:00
|
|
|
|
2020-01-06 17:10:03 +01:00
|
|
|
disabled = isPy27;
|
|
|
|
|
2019-07-17 03:35:29 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 08:47:34 +02:00
|
|
|
sha256 = "ccb7ee58f5da4b05eae2154eb615eb791487d3cfeaa2a690877737a898580a9e";
|
2019-07-17 03:35:29 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [ numba ];
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|