nixpkgs/pkgs/by-name/st/stac-validator/package.nix
Victor Engmark dd98f9d88f
stac-validator: init at 3.4.0
Co-authored-by: Ivan Mincik <ivan.mincik@gmail.com>
2024-10-18 08:46:50 +13:00

37 lines
831 B
Nix

{
lib,
fetchFromGitHub,
python3Packages,
}:
python3Packages.buildPythonPackage rec {
pname = "stac-validator";
version = "3.4.0";
pyproject = true;
disabled = python3Packages.pythonOlder "3.8";
src = fetchFromGitHub {
owner = "stac-utils";
repo = "stac-validator";
rev = "refs/tags/v${version}";
hash = "sha256-e3v8WvVbZcxN91w+YNUmSILZ1nZ9Vy1UbEpCQkTMQpQ=";
};
build-system = [ python3Packages.setuptools ];
dependencies = with python3Packages; [
click
jsonschema
requests
];
pythonImportsCheck = [ "stac_validator" ];
meta = {
description = "Validator for the SpatioTemporal Asset Catalog (STAC) specification";
homepage = "https://github.com/stac-utils/stac-validator";
license = lib.licenses.asl20;
maintainers = lib.teams.geospatial.members;
};
}