Gaetan Lepage
2025-04-29 09:57:28 +02:00
parent 36c0c11c6e
commit b6b6930180
+14 -13
View File
@@ -7,16 +7,24 @@
python3Packages.buildPythonApplication rec {
pname = "oelint-adv";
version = "6.7.1";
version = "7.2.6";
pyproject = true;
src = fetchFromGitHub {
owner = "priv-kweihmann";
repo = "oelint-adv";
tag = version;
hash = "sha256-rJ1M5YRXcKbDEGhy0G+N2dGD3sx8KFUfLJSLthYQNtU=";
hash = "sha256-QNTC8jO6RjHNaHVNSqAoM1xAhYc35G5A7D0yfwmd6+U=";
};
postPatch = ''
substituteInPlace setup.cfg \
--replace-fail "--random-order-bucket=global" "" \
--replace-fail "--random-order" "" \
--replace-fail "--force-sugar" "" \
--replace-fail "--old-summary" ""
'';
build-system = with python3Packages; [
setuptools
];
@@ -25,6 +33,7 @@ python3Packages.buildPythonApplication rec {
anytree
argcomplete
colorama
oelint-data
oelint-parser
urllib3
];
@@ -50,20 +59,12 @@ python3Packages.buildPythonApplication rec {
passthru.updateScript = nix-update-script { };
postPatch = ''
substituteInPlace setup.cfg \
--replace-fail "--random-order-bucket=global" "" \
--replace-fail "--random-order" "" \
--replace-fail "--force-sugar" "" \
--replace-fail "--old-summary" ""
'';
meta = with lib; {
meta = {
description = "Advanced bitbake-recipe linter";
mainProgram = "oelint-adv";
homepage = "https://github.com/priv-kweihmann/oelint-adv";
changelog = "https://github.com/priv-kweihmann/oelint-adv/releases/tag/${version}";
license = licenses.bsd2;
maintainers = with maintainers; [ otavio ];
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ otavio ];
};
}