depot/third_party/nixpkgs/pkgs/tools/security/quark-engine/default.nix

50 lines
977 B
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
, gitMinimal
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "quark-engine";
version = "23.12.1";
format = "setuptools";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-NeJGkqGpg2uOsz10gEYz/nzh21DhXSU4RgQtI1brASQ=";
};
propagatedBuildInputs = with python3.pkgs; [
androguard
click
colorama
gitMinimal
graphviz
pandas
plotly
prettytable
prompt-toolkit
r2pipe
rzpipe
setuptools
tqdm
];
# 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 ];
};
}