python3Packages.kubernetes-validate: init at 1.31.0 (#356174)
This commit is contained in:
@@ -14249,6 +14249,17 @@
|
||||
githubId = 7910815;
|
||||
name = "Alex McGrath";
|
||||
};
|
||||
lykos153 = {
|
||||
email = "silvio.ankermann@cloudandheat.com";
|
||||
github = "Lykos153";
|
||||
githubId = 6453662;
|
||||
name = "Silvio Ankermann";
|
||||
keys = [
|
||||
{
|
||||
fingerprint = "8D47 6294 7205 541C 62A4 9C88 F422 6CA3 971C 4E97";
|
||||
}
|
||||
];
|
||||
};
|
||||
lyn = {
|
||||
name = "Lyn";
|
||||
matrix = "@lynatic:catgirl.cloud";
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
python3Packages,
|
||||
}:
|
||||
python3Packages.toPythonApplication python3Packages.kubernetes-validate
|
||||
@@ -0,0 +1,56 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
importlib-resources,
|
||||
jsonschema,
|
||||
packaging,
|
||||
pyyaml,
|
||||
referencing,
|
||||
typing-extensions,
|
||||
pytestCheckHook,
|
||||
versionCheckHook,
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "kubernetes-validate";
|
||||
version = "1.31.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "willthames";
|
||||
repo = "kubernetes-validate";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-vxsftuipw0rHQIngxKlPHwBIW+rYAjfnEEaJDKmPyfQ=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
importlib-resources
|
||||
jsonschema
|
||||
packaging
|
||||
pyyaml
|
||||
referencing
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
versionCheckHook
|
||||
];
|
||||
versionCheckProgramArg = [ "--version" ];
|
||||
|
||||
pythonImportsCheck = [ "kubernetes_validate" ];
|
||||
|
||||
meta = {
|
||||
description = "Module to validate Kubernetes resource definitions against the declared Kubernetes schemas";
|
||||
homepage = "https://github.com/willthames/kubernetes-validate";
|
||||
changelog = "https://github.com/willthames/kubernetes-validate/releases/tag/v${version}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ lykos153 ];
|
||||
mainProgram = "kubernetes-validate";
|
||||
};
|
||||
}
|
||||
@@ -7236,6 +7236,8 @@ self: super: with self; {
|
||||
|
||||
kubernetes-asyncio = callPackage ../development/python-modules/kubernetes-asyncio { };
|
||||
|
||||
kubernetes-validate = callPackage ../by-name/ku/kubernetes-validate/unwrapped.nix { };
|
||||
|
||||
kurbopy = callPackage ../development/python-modules/kurbopy { };
|
||||
|
||||
l18n = callPackage ../development/python-modules/l18n { };
|
||||
|
||||
Reference in New Issue
Block a user