Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
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 = "8.5.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "priv-kweihmann";
|
|
repo = "oelint-parser";
|
|
tag = version;
|
|
hash = "sha256-rgMUn0VtebKtO0EOVv3jtvTZKGESUdLwRSfvtetT9UE=";
|
|
};
|
|
|
|
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/${src.tag}";
|
|
license = lib.licenses.bsd2;
|
|
maintainers = with lib.maintainers; [ otavio ];
|
|
};
|
|
}
|