depot/third_party/nixpkgs/pkgs/development/python-modules/oelint-parser/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

41 lines
903 B
Nix

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