aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/timezonefinder
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/timezonefinder')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/python-modules/timezonefinder/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/timezonefinder/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/timezonefinder/default.nix
new file mode 100644
index 000000000000..ca07b50ceff8
--- /dev/null
+++ b/infra/libkookie/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 = "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;
+ };
+}