nixpkgs/pkgs/by-name/oe/oelint-adv/package.nix
2023-10-21 09:27:00 -03:00

41 lines
912 B
Nix

{ lib
, nix-update-script
, python3
, fetchPypi
}:
python3.pkgs.buildPythonApplication rec {
pname = "oelint-adv";
version = "3.26.1";
format = "setuptools";
src = fetchPypi {
inherit version;
pname = "oelint_adv";
hash = "sha256-xQC3y9YeY8o4L4pLV+nLs1Ao8KH6q1BprwTeUm8f+2w=";
};
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 ];
};
}