1{ lib 2, buildPythonPackage 3, fetchPypi 4, mercantile 5, pytestCheckHook 6, requests 7, setuptools 8, setuptools-scm 9}: 10 11buildPythonPackage rec { 12 pname = "xyzservices"; 13 version = "2023.7.0"; 14 format = "pyproject"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-DskodCIn1vXUNn6ntFf8/tlDQp9N4pSbWwKoLN9VadY="; 19 }; 20 21 nativeBuildInputs = [ 22 setuptools 23 setuptools-scm 24 ]; 25 26 disabledTests = [ 27 # requires network connections 28 "test_free_providers" 29 ]; 30 31 pythonImportsCheck = [ 32 "xyzservices.providers" 33 ]; 34 35 nativeCheckInputs = [ 36 mercantile 37 pytestCheckHook 38 requests 39 ]; 40 41 meta = with lib; { 42 changelog = "https://github.com/geopandas/xyzservices/releases/tag/${version}"; 43 description = "Source of XYZ tiles providers"; 44 homepage = "https://github.com/geopandas/xyzservices"; 45 license = licenses.bsd3; 46 maintainers = with maintainers; [ ]; 47 }; 48}