Merge pull request #256990 from otavio/init-oelint-adv
oelint-adv: init at 3.25.0, pythonPackages.oelint-parser: init at 2.11.3
This commit is contained in:
commit
1b27a51bfa
3 changed files with 73 additions and 0 deletions
40
pkgs/by-name/oe/oelint-adv/package.nix
Normal file
40
pkgs/by-name/oe/oelint-adv/package.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, nix-update-script
|
||||
, python3
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "oelint-adv";
|
||||
version = "3.25.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "oelint_adv";
|
||||
hash = "sha256-dhTS2DZ7Usb1jgBv9Wm86w8CCMt64aHyBrxucLZUQjs=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
anytree
|
||||
colorama
|
||||
oelint-parser
|
||||
urllib3
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [ "urllib3" ];
|
||||
pythonImportsCheck = [ "oelint_adv" ];
|
||||
|
||||
# Fail to run inside the code the build.
|
||||
doCheck = false;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Advanced bitbake-recipe linter";
|
||||
homepage = "https://github.com/priv-kweihmann/oelint-adv";
|
||||
changelog = "https://github.com/priv-kweihmann/oelint-adv/releases/tag/v${version}";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ otavio ];
|
||||
};
|
||||
}
|
31
pkgs/development/python-modules/oelint-parser/default.nix
Normal file
31
pkgs/development/python-modules/oelint-parser/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ lib
|
||||
, nix-update-script
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, regex
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "oelint-parser";
|
||||
version = "2.11.3";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "oelint_parser";
|
||||
hash = "sha256-iR/MDHt3SEG29hSLqA36EXe8EBRZVntt+u6bwoujy0s=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ regex ];
|
||||
pythonImportsCheck = [ "oelint_parser" ];
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -4082,6 +4082,8 @@ self: super: with self; {
|
|||
inherit (pkgs.darwin.apple_sdk.frameworks) ApplicationServices OpenGL;
|
||||
};
|
||||
|
||||
oelint-parser = callPackage ../development/python-modules/oelint-parser { };
|
||||
|
||||
openllm = callPackage ../development/python-modules/openllm { };
|
||||
|
||||
openllm-client = callPackage ../development/python-modules/openllm-client { };
|
||||
|
|
Loading…
Reference in a new issue