Fernando Rodrigues 05580f4b44
treewide: switch instances of lib.teams.*.members to the new meta.teams attribute
Follow-up to #394797.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-04-25 22:20:17 -03:00

63 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
pystac,
pytest-benchmark,
pytest-console-scripts,
pytest-mock,
pytest-recording,
python-dateutil,
requests,
requests-mock,
setuptools,
}:
buildPythonPackage rec {
pname = "pystac-client";
version = "0.8.6";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "stac-utils";
repo = "pystac-client";
tag = "v${version}";
hash = "sha256-rbRxqR6hZy284JfQu5+dukFTBHllqzjo0k9aWhrkRAU=";
};
build-system = [ setuptools ];
dependencies = [
pystac
python-dateutil
requests
];
nativeCheckInputs = [
pytest-benchmark
pytestCheckHook
pytest-console-scripts
pytest-mock
pytest-recording
requests-mock
];
pytestFlagsArray = [
# Tests accessing Internet
"-m 'not vcr'"
];
pythonImportsCheck = [ "pystac_client" ];
meta = {
description = "A Python client for working with STAC Catalogs and APIs";
homepage = "https://github.com/stac-utils/pystac-client";
license = lib.licenses.asl20;
teams = [ lib.teams.geospatial ];
};
}