blob: 41c7083520c3d7b614f1b2fedf2dcd1fe6cd4138 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{
lib,
buildPythonPackage,
fetchPypi,
mercantile,
pytestCheckHook,
requests,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "xyzservices";
version = "2024.6.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-WMG9q0JX0lUbnvkc1IVx93t8TSvEW/XjwFrJezpNcoI=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
];
pytestFlagsArray = [
# requires network connections
"-m 'not 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;
maintainers = lib.teams.geospatial.members;
};
}
|