stac-validator: init at 3.4.0
Co-authored-by: Ivan Mincik <ivan.mincik@gmail.com>
This commit is contained in:
parent
cd286b21e4
commit
dd98f9d88f
36
pkgs/by-name/st/stac-validator/package.nix
Normal file
36
pkgs/by-name/st/stac-validator/package.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{
|
||||
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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user