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