1{ lib 2, nix-update-script 3, fetchPypi 4, buildPythonPackage 5, regex 6, pip 7}: 8 9buildPythonPackage rec { 10 pname = "oelint-parser"; 11 version = "2.11.4"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit version; 16 pname = "oelint_parser"; 17 hash = "sha256-r8qpD7UDh8ZfsdwVuv0ipihPEX3263t929mMYf143iA="; 18 }; 19 20 buildInputs = [ pip ]; 21 propagatedBuildInputs = [ regex ]; 22 pythonImportsCheck = [ "oelint_parser" ]; 23 24 # Fail to run inside the code the build. 25 doCheck = false; 26 27 passthru.updateScript = nix-update-script { }; 28 29 meta = with lib; { 30 description = "Alternative parser for bitbake recipes"; 31 homepage = "https://github.com/priv-kweihmann/oelint-parser"; 32 changelog = "https://github.com/priv-kweihmann/oelint-parser/releases/tag/v${version}"; 33 license = licenses.bsd2; 34 maintainers = with maintainers; [ otavio ]; 35 }; 36}