nixpkgs/pkgs/by-name/oe/oelint-adv/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
959 B
Nix
Raw Normal View History

{ lib
, nix-update-script
, python3
, fetchPypi
}:
python3.pkgs.buildPythonApplication rec {
pname = "oelint-adv";
2024-04-28 05:44:45 +00:00
version = "5.3.1";
format = "setuptools";
src = fetchPypi {
inherit version;
pname = "oelint_adv";
2024-04-28 05:44:45 +00:00
hash = "sha256-8fftHQpv2GZhi3ZDXYUG7uAiWuuX79dntGAbKIvv4Kc=";
};
propagatedBuildInputs = with python3.pkgs; [
anytree
2024-04-11 12:56:29 +00:00
argcomplete
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";
mainProgram = "oelint-adv";
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 ];
};
}