1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "geographiclib"; 11 version = "2.0"; 12 format = "setuptools"; 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-9/Qchdw+HC09k17IZmDcOyyEjIPhf5qeUbqdUUahWFk="; 18 }; 19 20 nativeCheckInputs = [ pytestCheckHook ]; 21 22 pythonImportsCheck = [ "geographiclib" ]; 23 24 meta = with lib; { 25 homepage = "https://geographiclib.sourceforge.io"; 26 description = "Algorithms for geodesics (Karney, 2013) for solving the direct and inverse problems for an ellipsoid of revolution"; 27 license = licenses.mit; 28 maintainers = [ ]; 29 }; 30}