yamlfix: 1.16.0 -> 1.16.1 (#414161)

This commit is contained in:
Nick Cao
2025-06-11 13:23:40 -04:00
committed by GitHub
@@ -11,6 +11,7 @@
pythonOlder,
ruyaml,
setuptools,
writableTmpDirAsHomeHook,
}:
let
maison143 = maison.overridePythonAttrs (old: rec {
@@ -26,7 +27,7 @@ in
buildPythonPackage rec {
pname = "yamlfix";
version = "1.16.0";
version = "1.16.1";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -35,7 +36,7 @@ buildPythonPackage rec {
owner = "lyz-code";
repo = "yamlfix";
tag = version;
hash = "sha256-nadyBIzXHbWm0QvympRaYU38tuPJ3TPJg8EbvVv+4L0=";
hash = "sha256-RRpU6cxb3a3g6RrJbUCxY7YC87HHbGkhOFtE3hf8HdA=";
};
build-system = [
@@ -49,16 +50,15 @@ buildPythonPackage rec {
ruyaml
];
pythonRelaxDeps = [ "maison" ];
nativeCheckInputs = [
pytest-freezegun
pytest-xdist
pytestCheckHook
writableTmpDirAsHomeHook
];
preCheck = ''
export HOME=$(mktemp -d)
'';
pythonImportsCheck = [ "yamlfix" ];
pytestFlagsArray = [
@@ -66,11 +66,12 @@ buildPythonPackage rec {
"ignore::DeprecationWarning"
];
meta = with lib; {
meta = {
description = "Python YAML formatter that keeps your comments";
homepage = "https://github.com/lyz-code/yamlfix";
changelog = "https://github.com/lyz-code/yamlfix/blob/${version}/CHANGELOG.md";
license = licenses.gpl3Only;
maintainers = with maintainers; [ koozz ];
mainProgram = "yamlfix";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ koozz ];
};
}