blob: eb7f653db9de00f1b31bcc9b6a3fa94d8ca7989c (
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
48
49
50
51
52
53
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
html5lib,
jsonschema,
pytest-cov,
pytest-mock,
pytest-recording,
python-dateutil,
requests-mock,
setuptools,
}:
buildPythonPackage rec {
pname = "pystac";
version = "1.10.1";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "stac-utils";
repo = "pystac";
rev = "v${version}";
hash = "sha256-zJGDhKRX50Muo1YDEzfwypMLISnYBYKkPvUULYkUf68=";
};
build-system = [ setuptools ];
propagatedBuildInputs = [ python-dateutil ];
nativeCheckInputs = [
html5lib
jsonschema
pytestCheckHook
pytest-cov
pytest-mock
pytest-recording
requests-mock
];
pythonImportsCheck = [ "pystac" ];
meta = {
description = "Python library for working with any SpatioTemporal Asset Catalog (STAC)";
homepage = "https://github.com/stac-utils/pystac";
license = lib.licenses.asl20;
maintainers = lib.teams.geospatial.members;
};
}
|