depot/third_party/nixpkgs/pkgs/development/python-modules/oelint-parser/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

41 lines
903 B
Nix

{
lib,
nix-update-script,
fetchPypi,
buildPythonPackage,
deprecated,
regex,
pip,
}:
buildPythonPackage rec {
pname = "oelint-parser";
version = "3.5.3";
format = "setuptools";
src = fetchPypi {
inherit version;
pname = "oelint_parser";
hash = "sha256-ExW/wSuuLQH6MB9PIXjmHgdUxhqX6AXnKPDe9PJ2T/4=";
};
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 ];
};
}