1{ 2 lib, 3 nix-update-script, 4 fetchFromGitHub, 5 buildPythonPackage, 6 setuptools, 7 deprecated, 8 regex, 9 pytest-cov-stub, 10 pytest-forked, 11 pytest-random-order, 12 pytestCheckHook, 13}: 14 15buildPythonPackage rec { 16 pname = "oelint-parser"; 17 version = "8.5.1"; 18 pyproject = true; 19 20 src = fetchFromGitHub { 21 owner = "priv-kweihmann"; 22 repo = "oelint-parser"; 23 tag = version; 24 hash = "sha256-rgMUn0VtebKtO0EOVv3jtvTZKGESUdLwRSfvtetT9UE="; 25 }; 26 27 pythonRelaxDeps = [ "regex" ]; 28 29 build-system = [ setuptools ]; 30 31 dependencies = [ 32 regex 33 deprecated 34 ]; 35 36 nativeCheckInputs = [ 37 pytest-cov-stub 38 pytest-forked 39 pytest-random-order 40 pytestCheckHook 41 ]; 42 43 pythonImportsCheck = [ "oelint_parser" ]; 44 45 passthru.updateScript = nix-update-script { }; 46 47 meta = { 48 description = "Alternative parser for bitbake recipes"; 49 homepage = "https://github.com/priv-kweihmann/oelint-parser"; 50 changelog = "https://github.com/priv-kweihmann/oelint-parser/releases/tag/${src.tag}"; 51 license = lib.licenses.bsd2; 52 maintainers = with lib.maintainers; [ otavio ]; 53 }; 54}