Files
nixpkgs/pkgs/development/python-modules/xyzservices/default.nix
Martin Weinelt fcb6141a3b python3Packages.xyzservices: 2025.1.0 -> 2025.4.0
https://github.com/geopandas/xyzservices/releases/tag/2025.4.0

This commit was automatically generated using update-python-libraries.
2025-08-09 19:04:49 +02:00

48 lines
896 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
mercantile,
pytestCheckHook,
requests,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "xyzservices";
version = "2025.4.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-b+dkcTZI+sU0UPvGGjw2bLauUzWhsq4MN5a0ld43Cdg=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
];
disabledTestMarks = [
# requires network connections
"request"
];
pythonImportsCheck = [ "xyzservices.providers" ];
nativeCheckInputs = [
mercantile
pytestCheckHook
requests
];
meta = {
changelog = "https://github.com/geopandas/xyzservices/releases/tag/${version}";
description = "Source of XYZ tiles providers";
homepage = "https://github.com/geopandas/xyzservices";
license = lib.licenses.bsd3;
teams = [ lib.teams.geospatial ];
};
}