e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
36 lines
863 B
Nix
36 lines
863 B
Nix
{ lib
|
|
, nix-update-script
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, regex
|
|
, pip
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "oelint-parser";
|
|
version = "2.13.11";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "oelint_parser";
|
|
hash = "sha256-Hr+2S4AGx0W+rrMFdAlN7/OcDTFYivZVYknD/sHWMDs=";
|
|
};
|
|
|
|
buildInputs = [ pip ];
|
|
propagatedBuildInputs = [ 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 ];
|
|
};
|
|
}
|