c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
58 lines
1.1 KiB
Nix
58 lines
1.1 KiB
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, gitMinimal
|
|
, python3
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "quark-engine";
|
|
version = "24.2.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
sha256 = "sha256-77yfysmFEneVOiejoCooi1buqEM/Ljv5xqjKv17DFWE=";
|
|
};
|
|
|
|
nativeBuildInputs = with python3.pkgs; [
|
|
setuptools
|
|
pythonRelaxDepsHook
|
|
];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
androguard
|
|
click
|
|
colorama
|
|
gitMinimal
|
|
graphviz
|
|
pandas
|
|
plotly
|
|
prettytable
|
|
prompt-toolkit
|
|
r2pipe
|
|
rzpipe
|
|
setuptools
|
|
tqdm
|
|
];
|
|
|
|
pythonRelaxDeps = [
|
|
"r2pipe"
|
|
];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"quark"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Android malware (analysis and scoring) system";
|
|
homepage = "https://quark-engine.readthedocs.io/";
|
|
changelog = "https://github.com/quark-engine/quark-engine/releases/tag/v${version}";
|
|
license = with licenses; [ gpl3Only ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|