diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/timezonefinder/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/timezonefinder/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/timezonefinder/default.nix b/nixpkgs/pkgs/development/python-modules/timezonefinder/default.nix new file mode 100644 index 000000000000..48aff396aaad --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/timezonefinder/default.nix @@ -0,0 +1,33 @@ +{ buildPythonPackage +, lib +, fetchPypi +, isPy27 +, numba +, numpy +, pytestCheckHook +, pytestcov +}: + +buildPythonPackage rec { + pname = "timezonefinder"; + version = "5.2.0"; + + disabled = isPy27; + + src = fetchPypi { + inherit pname version; + sha256 = "a374570295a8dbd923630ce85f754e52578e288cb0a9cf575834415e84758352"; + }; + + 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; + }; +} |