depot/third_party/nixpkgs/pkgs/development/python-modules/timezonefinder/default.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

33 lines
657 B
Nix

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