2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
gitMinimal,
|
|
|
|
python3,
|
2021-10-08 15:17:17 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "quark-engine";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "24.9.1";
|
2024-02-29 20:09:43 +00:00
|
|
|
pyproject = true;
|
2021-10-08 15:17:17 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2024-05-15 15:35:15 +00:00
|
|
|
owner = "quark-engine";
|
|
|
|
repo = "quark-engine";
|
2023-01-11 07:51:40 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-DmiqsYEdCh9hG5aa41UymW8IDkba4fuCrtM10A0X2Gg=";
|
2021-10-08 15:17:17 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
build-system = with python3.pkgs; [ setuptools ];
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
dependencies = with python3.pkgs; [
|
2021-10-08 15:17:17 +00:00
|
|
|
androguard
|
|
|
|
click
|
|
|
|
colorama
|
|
|
|
gitMinimal
|
|
|
|
graphviz
|
|
|
|
pandas
|
|
|
|
plotly
|
|
|
|
prettytable
|
|
|
|
prompt-toolkit
|
2024-02-07 01:22:34 +00:00
|
|
|
r2pipe
|
2021-10-08 15:17:17 +00:00
|
|
|
rzpipe
|
2024-02-07 01:22:34 +00:00
|
|
|
setuptools
|
2021-10-08 15:17:17 +00:00
|
|
|
tqdm
|
|
|
|
];
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
pythonRelaxDeps = [ "r2pipe" ];
|
2024-02-29 20:09:43 +00:00
|
|
|
|
2021-10-08 15:17:17 +00:00
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
pythonImportsCheck = [ "quark" ];
|
2021-10-08 15:17:17 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Android malware (analysis and scoring) system";
|
|
|
|
homepage = "https://quark-engine.readthedocs.io/";
|
2023-01-11 07:51:40 +00:00
|
|
|
changelog = "https://github.com/quark-engine/quark-engine/releases/tag/v${version}";
|
2021-10-08 15:17:17 +00:00
|
|
|
license = with licenses; [ gpl3Only ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|