5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
54 lines
1.1 KiB
Nix
54 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
gitMinimal,
|
|
python3,
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "quark-engine";
|
|
version = "24.5.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "quark-engine";
|
|
repo = "quark-engine";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-W1UeTiyyYZzxu3XQ/6VkTvEyqPWl1Du6QutuoPhaSfs=";
|
|
};
|
|
|
|
build-system = with python3.pkgs; [ setuptools ];
|
|
|
|
nativeBuildInputs = with python3.pkgs; [ pythonRelaxDepsHook ];
|
|
|
|
dependencies = 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 ];
|
|
};
|
|
}
|