55 lines
1.1 KiB
Nix
55 lines
1.1 KiB
Nix
|
{
|
||
|
lib,
|
||
|
nix-update-script,
|
||
|
fetchFromGitHub,
|
||
|
buildPythonPackage,
|
||
|
setuptools,
|
||
|
deprecated,
|
||
|
regex,
|
||
|
pytest-cov-stub,
|
||
|
pytest-forked,
|
||
|
pytest-random-order,
|
||
|
pytestCheckHook,
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "oelint-parser";
|
||
|
version = "5.1.0";
|
||
|
pyproject = true;
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "priv-kweihmann";
|
||
|
repo = "oelint-parser";
|
||
|
rev = "refs/tags/${version}";
|
||
|
hash = "sha256-0cCcbnipijQgWH+08eZbE6Cqcx5cenrb+bQlf3h04tw=";
|
||
|
};
|
||
|
|
||
|
pythonRelaxDeps = [ "regex" ];
|
||
|
|
||
|
build-system = [ setuptools ];
|
||
|
|
||
|
dependencies = [
|
||
|
regex
|
||
|
deprecated
|
||
|
];
|
||
|
|
||
|
nativeCheckInputs = [
|
||
|
pytest-cov-stub
|
||
|
pytest-forked
|
||
|
pytest-random-order
|
||
|
pytestCheckHook
|
||
|
];
|
||
|
|
||
|
pythonImportsCheck = [ "oelint_parser" ];
|
||
|
|
||
|
passthru.updateScript = nix-update-script { };
|
||
|
|
||
|
meta = {
|
||
|
description = "Alternative parser for bitbake recipes";
|
||
|
homepage = "https://github.com/priv-kweihmann/oelint-parser";
|
||
|
changelog = "https://github.com/priv-kweihmann/oelint-parser/releases/tag/${version}";
|
||
|
license = lib.licenses.bsd2;
|
||
|
maintainers = with lib.maintainers; [ otavio ];
|
||
|
};
|
||
|
}
|