depot/third_party/nixpkgs/pkgs/development/python-modules/oelint-parser/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

40 lines
894 B
Nix

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