13 buildPythonPackage rec {
16 format = "setuptools";
17 disabled = pythonOlder "3.7";
19 src = fetchFromGitHub {
23 hash = "sha256-mlOXDEtYry1IUAZWrP2FuY/CGliUnCPYLULnLNN0n4Y=";
26 propagatedBuildInputs = [ geographiclib ];
35 # ignore --skip-tests-requiring-internet flag
36 "test_user_agent_default"
39 disabledTestPaths = lib.optionals (pythonAtLeast "3.12") [ "test/test_init.py" ];
41 pytestFlagsArray = [ "--skip-tests-requiring-internet" ];
43 pythonImportsCheck = [ "geopy" ];
45 __darwinAllowLocalNetworking = true;
48 homepage = "https://github.com/geopy/geopy";
49 description = "Python Geocoding Toolbox";
50 changelog = "https://github.com/geopy/geopy/releases/tag/${version}";
51 license = with licenses; [ mit ];
52 maintainers = with maintainers; [ GuillaumeDesforges ];