2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2019-10-18 17:59:21 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-07-09 21:11:48 +01:00
|
|
|
, pytestCheckHook
|
2019-10-18 17:59:21 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "geographiclib";
|
2021-07-09 21:09:41 +01:00
|
|
|
version = "1.52";
|
2019-10-18 17:59:21 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-07-09 21:09:41 +01:00
|
|
|
sha256 = "sha256-rEANZyuJVLAwa8qJCwiLuLoqdX3IEzzKC4ePNLM7J0A=";
|
2019-10-18 17:59:21 +01:00
|
|
|
};
|
|
|
|
|
2021-07-09 21:11:48 +01:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "geographiclib" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-10-18 17:59:21 +01:00
|
|
|
homepage = "https://geographiclib.sourceforge.io";
|
|
|
|
description = "Algorithms for geodesics (Karney, 2013) for solving the direct and inverse problems for an ellipsoid of revolution";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|