nixpkgs/pkgs/development/python-modules/timezonefinder/default.nix
2020-08-16 19:31:17 +02:00

32 lines
601 B
Nix

{ buildPythonPackage
, lib
, fetchPypi
, isPy27
, numba
, numpy
}:
buildPythonPackage rec {
pname = "timezonefinder";
version = "4.4.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "c84e0f4b501419349e67972d25c535d9b5fd6c100c319747049b67812a4c6b97";
};
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;
};
}