{ lib, python3, fetchFromGitHub, gitUpdater, }: python3.pkgs.buildPythonApplication rec { pname = "yaralyzer"; version = "1.0.9"; pyproject = true; src = fetchFromGitHub { owner = "michelcrypt4d4mus"; repo = "yaralyzer"; tag = "v${version}"; hash = "sha256-OGMvDPwR4WFINKJpoP242Xhi3mhDzrUypClVGgIIHJI="; }; build-system = with python3.pkgs; [ poetry-core ]; dependencies = with python3.pkgs; [ chardet python-dotenv rich rich-argparse-plus yara-python ]; pythonImportsCheck = [ "yaralyzer" ]; passthru = { updateScript = gitUpdater { rev-prefix = "v"; }; }; meta = { description = "Tool to visually inspect and force decode YARA and regex matches"; homepage = "https://github.com/michelcrypt4d4mus/yaralyzer"; changelog = "https://github.com/michelcrypt4d4mus/yaralyzer/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ fab ]; mainProgram = "yaralyze"; }; }