14 buildPythonPackage rec {
15 pname = "osmpythontools";
18 src = fetchFromGitHub {
19 owner = "mocnik-science";
20 repo = "osm-python-tools";
22 sha256 = "0r72z7f7kmvvbd9zvgci8rwmfj85xj34mb3x5dj3jcv5ij5j72yh";
25 # Upstream setup.py has test dependencies in `install_requires` argument.
26 # Remove them, as we don't run the tests.
27 patches = [ ./remove-test-only-dependencies.patch ];
29 propagatedBuildInputs = [
43 pythonImportsCheck = [
47 "OSMPythonTools.element"
48 "OSMPythonTools.nominatim"
49 "OSMPythonTools.overpass"
53 description = "A library to access OpenStreetMap-related services";
55 The python package OSMPythonTools provides easy access to
56 OpenStreetMap-related services, among them an Overpass endpoint,
57 Nominatim, and the OpenStreetMap editing API.
59 homepage = "https://github.com/mocnik-science/osm-python-tools";
60 license = licenses.gpl3Only;
61 maintainers = with maintainers; [ das-g ];