1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4}: 5 6buildPythonPackage rec { 7 pname = "vincenty"; 8 version = "0.1.4"; 9 10 src = fetchFromGitHub { 11 owner = "maurycyp"; 12 repo = "vincenty"; 13 rev = version; 14 sha256 = "1li8gv0zb1pdbxdybgaykm38lqbkb5dr7rph6zs1k4k3sh15ldw3"; 15 }; 16 17 # no tests implemented 18 doCheck = false; 19 20 pythonImportsCheck = [ "vincenty" ]; 21 22 meta = with lib; { 23 description = "Calculate the geographical distance between 2 points with extreme accuracy"; 24 homepage = "https://github.com/maurycyp/vincenty"; 25 license = licenses.unlicense; 26 maintainers = with maintainers; [ dotlambda ]; 27 }; 28}