diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2023-09-23 21:25:20 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2023-09-29 08:50:50 -0300 |
commit | b96541c710fef92e78da3c3171bc211ceca9be63 (patch) | |
tree | 9480ccb5e6ab4f236ccc958898eb1d1b0274590c /pkgs/by-name/oe | |
parent | 87c3f38de72c511e9630b47b7b25f93a71edd79c (diff) |
oelint-adv: init at 3.25.0
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'pkgs/by-name/oe')
-rw-r--r-- | pkgs/by-name/oe/oelint-adv/package.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/by-name/oe/oelint-adv/package.nix b/pkgs/by-name/oe/oelint-adv/package.nix new file mode 100644 index 0000000000000..357772d5f8ece --- /dev/null +++ b/pkgs/by-name/oe/oelint-adv/package.nix @@ -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 ]; + }; +} |