2021-10-08 15:17:17 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, gitMinimal
|
|
|
|
, python3
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "quark-engine";
|
2023-03-04 12:14:45 +00:00
|
|
|
version = "23.2.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}";
|
2023-03-04 12:14:45 +00:00
|
|
|
sha256 = "sha256-9WrOyBOoSif1P67Z19HW56RvsojoubeT58P0rM18XSk=";
|
2021-10-08 15:17:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
androguard
|
|
|
|
click
|
|
|
|
colorama
|
|
|
|
gitMinimal
|
|
|
|
graphviz
|
|
|
|
pandas
|
|
|
|
plotly
|
|
|
|
prettytable
|
|
|
|
prompt-toolkit
|
|
|
|
rzpipe
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|