1{ buildPythonPackage
2, lib
3, fetchPypi
4, isPy27
5, numba
6, numpy
7, pytestCheckHook
8, pytest-cov
9}:
10
11buildPythonPackage rec {
12 pname = "timezonefinder";
13 version = "5.2.0";
14
15 disabled = isPy27;
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "a374570295a8dbd923630ce85f754e52578e288cb0a9cf575834415e84758352";
20 };
21
22 propagatedBuildInputs = [
23 numpy
24 ];
25
26 checkInputs = [ numba pytestCheckHook pytest-cov ];
27
28 meta = with lib; {
29 description = "fast python package for finding the timezone of any point on earth (coordinates) offline";
30 homepage = "https://github.com/MrMinimal64/timezonefinder";
31 license = licenses.mit;
32 };
33}