1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5, pythonOlder
6}:
7
8buildPythonPackage rec {
9 pname = "geographiclib";
10 version = "2.0";
11 disabled = pythonOlder "3.7";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "sha256-9/Qchdw+HC09k17IZmDcOyyEjIPhf5qeUbqdUUahWFk=";
16 };
17
18 checkInputs = [
19 pytestCheckHook
20 ];
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 = with maintainers; [ ];
29 };
30}