2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
nix-update-script,
|
|
|
|
fetchPypi,
|
|
|
|
buildPythonPackage,
|
|
|
|
deprecated,
|
|
|
|
regex,
|
|
|
|
pip,
|
2023-10-09 19:29:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "oelint-parser";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "3.5.3";
|
2023-10-09 19:29:22 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "oelint_parser";
|
2024-06-05 15:53:02 +00:00
|
|
|
hash = "sha256-ExW/wSuuLQH6MB9PIXjmHgdUxhqX6AXnKPDe9PJ2T/4=";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
buildInputs = [ pip ];
|
2024-02-07 01:22:34 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
deprecated
|
|
|
|
regex
|
|
|
|
];
|
2023-10-09 19:29:22 +00:00
|
|
|
pythonImportsCheck = [ "oelint_parser" ];
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
# Fail to run inside the code the build.
|
|
|
|
doCheck = false;
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Alternative parser for bitbake recipes";
|
|
|
|
homepage = "https://github.com/priv-kweihmann/oelint-parser";
|
2024-04-21 15:54:59 +00:00
|
|
|
changelog = "https://github.com/priv-kweihmann/oelint-parser/releases/tag/${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ otavio ];
|
|
|
|
};
|
|
|
|
}
|