summary refs log tree commit diff
path: root/pkgs/development/python-modules/timezonefinder/default.nix
blob: 1cd055588c28b5531740d13505e27a505b93b535 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ buildPythonPackage
, lib
, fetchPypi
, isPy27
, numba
, numpy
, pytestCheckHook
, pytest-cov
}:

buildPythonPackage rec {
  pname = "timezonefinder";
  version = "5.2.0";

  disabled = isPy27;

  src = fetchPypi {
    inherit pname version;
    sha256 = "a374570295a8dbd923630ce85f754e52578e288cb0a9cf575834415e84758352";
  };

  propagatedBuildInputs = [
    numpy
  ];

  checkInputs = [ numba pytestCheckHook pytest-cov ];

  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;
  };
}