python312Packages.yamllint: 1.35.1 -> 1.37.0 (#392503)

This commit is contained in:
Fabian Affolter
2025-03-24 08:52:48 +01:00
committed by GitHub
2 changed files with 13 additions and 10 deletions
@@ -12,21 +12,21 @@
buildPythonPackage rec {
pname = "yamllint";
version = "1.35.1";
version = "1.37.0";
pyproject = true;
disabled = pythonOlder "3.8";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "adrienverge";
repo = "yamllint";
tag = "v${version}";
hash = "sha256-+7Q2cPl4XElI2IfLAkteifFVTrGkj2IjZk7nPuc6eYM=";
hash = "sha256-874VqcJyHMVIvrR3qzL2H7/Hz7qRb7GDWI56SAdCz00=";
};
nativeBuildInputs = [ setuptools ];
build-system = [ setuptools ];
propagatedBuildInputs = [
dependencies = [
pyyaml
pathspec
];
@@ -37,6 +37,8 @@ buildPythonPackage rec {
[
# test failure reported upstream: https://github.com/adrienverge/yamllint/issues/373
"test_find_files_recursively"
# Issue wih fixture
"test_codec_built_in_equivalent"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# locale tests are broken on BSDs; see https://github.com/adrienverge/yamllint/issues/307
@@ -49,12 +51,10 @@ buildPythonPackage rec {
meta = with lib; {
description = "Linter for YAML files";
mainProgram = "yamllint";
homepage = "https://github.com/adrienverge/yamllint";
changelog = "https://github.com/adrienverge/yamllint/blob/v${version}/CHANGELOG.rst";
license = licenses.gpl3Plus;
maintainers = with maintainers; [
mikefaille
];
maintainers = with maintainers; [ mikefaille ];
mainProgram = "yamllint";
};
}
+4 -1
View File
@@ -17,7 +17,10 @@ python3Packages.buildPythonApplication rec {
hash = "sha256-4ZHCnLeG5gr0UtKQLU+6xnTxUbxnLcmDd51Psnaa42I=";
};
pythonRelaxDeps = [ "python-json-logger" ];
pythonRelaxDeps = [
"python-json-logger"
"yamllint"
];
build-system = with python3Packages; [
poetry-core