c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
40 lines
895 B
Nix
40 lines
895 B
Nix
{ lib
|
|
, nix-update-script
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, deprecated
|
|
, regex
|
|
, pip
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "oelint-parser";
|
|
version = "3.3.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "oelint_parser";
|
|
hash = "sha256-+u0whEnzA5XZlqgTpQtGH25/krLLvNPycWXzBUedMRc=";
|
|
};
|
|
|
|
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/v${version}";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ otavio ];
|
|
};
|
|
}
|