Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 31 lines 589 B view raw
1{ buildPythonPackage 2, lib 3, fetchPypi 4, isPy27 5, numba 6, numpy 7}: 8 9buildPythonPackage rec { 10 pname = "timezonefinder"; 11 version = "4.2.0"; 12 13 disabled = isPy27; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "0q8nd279labn03dz17s4xrglk1d31q9y8wcx99l51i5cxx53zsap"; 18 }; 19 20 propagatedBuildInputs = [ 21 numpy 22 ]; 23 24 checkInputs = [ numba ]; 25 26 meta = with lib; { 27 description = "fast python package for finding the timezone of any point on earth (coordinates) offline"; 28 homepage = "https://github.com/MrMinimal64/timezonefinder"; 29 license = licenses.mit; 30 }; 31}