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