eaf6957cd3
GitOrigin-RevId: 4bb072f0a8b267613c127684e099a70e1f6ff106
47 lines
1,017 B
Nix
47 lines
1,017 B
Nix
{ lib
|
|
, python3
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "yaralyzer";
|
|
version = "0.9.0";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "michelcrypt4d4mus";
|
|
repo = "yaralyzer";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-QsMO/fnHy4puuToUHSS05fWnXHdAVnWFFBVq3cb0Zj4=";
|
|
};
|
|
|
|
pythonRelaxDeps = [
|
|
"python-dotenv"
|
|
"rich"
|
|
];
|
|
|
|
nativeBuildInputs = with python3.pkgs; [
|
|
poetry-core
|
|
pythonRelaxDepsHook
|
|
];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
chardet
|
|
python-dotenv
|
|
rich
|
|
rich-argparse-plus
|
|
yara-python
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"yaralyzer"
|
|
];
|
|
|
|
meta = with lib; {
|
|
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/${version}/CHANGELOG.md";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|