depot/third_party/nixpkgs/pkgs/development/python-modules/oelint-parser/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

41 lines
903 B
Nix

{
lib,
nix-update-script,
fetchPypi,
buildPythonPackage,
deprecated,
regex,
pip,
}:
buildPythonPackage rec {
pname = "oelint-parser";
version = "3.5.5";
format = "setuptools";
src = fetchPypi {
inherit version;
pname = "oelint_parser";
hash = "sha256-4x7OgC5UKhAII2S1kDu+1RZyusr9F5cZDaRG9HFyhkA=";
};
buildInputs = [ pip ];
propagatedBuildInputs = [
deprecated
regex
];
pythonImportsCheck = [ "oelint_parser" ];
# Fail to run inside the code the build.
doCheck = false;
passthru.updateScript = nix-update-script { };
meta = with lib; {
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 = licenses.bsd2;
maintainers = with maintainers; [ otavio ];
};
}