2021-10-08 15:17:17 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, gitMinimal
|
|
|
|
, python3
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "quark-engine";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "23.12.1";
|
2022-01-07 04:07:37 +00:00
|
|
|
format = "setuptools";
|
2021-10-08 15:17:17 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
2023-01-11 07:51:40 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-02-07 01:22:34 +00:00
|
|
|
sha256 = "sha256-NeJGkqGpg2uOsz10gEYz/nzh21DhXSU4RgQtI1brASQ=";
|
2021-10-08 15:17:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
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
|
|
|
|
];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2022-01-07 04:07:37 +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 ];
|
|
|
|
};
|
|
|
|
}
|