0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00
nixpkgs/pkgs/development/python-modules/pystac/default.nix
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

53 lines
1,020 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
html5lib,
jsonschema,
pytest-cov-stub,
pytest-mock,
pytest-recording,
python-dateutil,
requests-mock,
setuptools,
}:
buildPythonPackage rec {
pname = "pystac";
version = "1.13.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "stac-utils";
repo = "pystac";
tag = "v${version}";
hash = "sha256-DxRJsnbzXBnpQSJE0VwkXV3vyH6WffiMaZ3119XBxJ8=";
};
build-system = [ setuptools ];
propagatedBuildInputs = [ python-dateutil ];
nativeCheckInputs = [
html5lib
jsonschema
pytestCheckHook
pytest-cov-stub
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;
teams = [ lib.teams.geospatial ];
};
}