Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ lib, buildPythonPackage, docutils, fetchFromGitHub, setuptools, geographiclib, pytest7CheckHook, pythonAtLeast, pytz,}:
buildPythonPackage (finalAttrs: { pname = "geopy"; version = "2.5.0"; pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub { owner = "geopy"; repo = "geopy"; tag = finalAttrs.version; hash = "sha256-I+t8RnpC1hurL+fcwRssREzsSx9yGHEqVjzxqKX0efc="; };
build-system = [ setuptools ];
dependencies = [ geographiclib ];
nativeCheckInputs = [ docutils pytest7CheckHook pytz ];
disabledTests = [ # ignore --skip-tests-requiring-internet flag "test_user_agent_default" ];
disabledTestPaths = lib.optionals (pythonAtLeast "3.12") [ "test/test_init.py" ];
pytestFlags = [ "--skip-tests-requiring-internet" ];
pythonImportsCheck = [ "geopy" ];
__darwinAllowLocalNetworking = true;
meta = { homepage = "https://github.com/geopy/geopy"; description = "Python Geocoding Toolbox"; changelog = "https://github.com/geopy/geopy/releases/tag/${finalAttrs.version}"; license = lib.licenses.mit; maintainers = [ ]; };})