1{
2 lib,
3 nix-update-script,
4 fetchPypi,
5 buildPythonPackage,
6 deprecated,
7 regex,
8 pip,
9}:
10
11buildPythonPackage rec {
12 pname = "oelint-parser";
13 version = "3.5.5";
14 format = "setuptools";
15
16 src = fetchPypi {
17 inherit version;
18 pname = "oelint_parser";
19 hash = "sha256-4x7OgC5UKhAII2S1kDu+1RZyusr9F5cZDaRG9HFyhkA=";
20 };
21
22 buildInputs = [ pip ];
23 propagatedBuildInputs = [
24 deprecated
25 regex
26 ];
27 pythonImportsCheck = [ "oelint_parser" ];
28
29 # Fail to run inside the code the build.
30 doCheck = false;
31
32 passthru.updateScript = nix-update-script { };
33
34 meta = with lib; {
35 description = "Alternative parser for bitbake recipes";
36 homepage = "https://github.com/priv-kweihmann/oelint-parser";
37 changelog = "https://github.com/priv-kweihmann/oelint-parser/releases/tag/${version}";
38 license = licenses.bsd2;
39 maintainers = with maintainers; [ otavio ];
40 };
41}