Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 30 lines 696 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchFromGitHub 4, isPy3k 5, geographiclib 6}: 7 8buildPythonPackage rec { 9 pname = "geopy-unstable"; 10 version = "2019-11-10"; 11 12 disabled = !isPy3k; # only Python 3 13 doCheck = false; # Needs network access 14 15 propagatedBuildInputs = [ geographiclib ]; 16 17 src = fetchFromGitHub { 18 owner = "geopy"; 19 repo = "geopy"; 20 rev = "531b7de6126838a3e69370227aa7f2086ba52b89"; 21 sha256 = "07l1pblzg3hb3dbvd9rq8x78ly5dv0zxbc5hwskqil0bhv5v1p39"; 22 }; 23 24 meta = with stdenv.lib; { 25 homepage = "https://github.com/geopy/geopy"; 26 description = "Python Geocoding Toolbox"; 27 license = licenses.mit; 28 maintainers = with maintainers; [GuillaumeDesforges]; 29 }; 30}