Files
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

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 ];
};
}