1{ lib
2, fetchFromGitHub
3, gitMinimal
4, python3
5}:
6
7python3.pkgs.buildPythonApplication rec {
8 pname = "quark-engine";
9 version = "23.9.1";
10 format = "setuptools";
11
12 src = fetchFromGitHub {
13 owner = pname;
14 repo = pname;
15 rev = "refs/tags/v${version}";
16 sha256 = "sha256-E9efhgMGN9lvMlFeZqo6xco75TtQsXULOzKX00pjqMM=";
17 };
18
19 propagatedBuildInputs = with python3.pkgs; [
20 androguard
21 click
22 colorama
23 gitMinimal
24 graphviz
25 pandas
26 plotly
27 prettytable
28 prompt-toolkit
29 rzpipe
30 tqdm
31 ];
32
33 # Project has no tests
34 doCheck = false;
35
36 pythonImportsCheck = [
37 "quark"
38 ];
39
40 meta = with lib; {
41 description = "Android malware (analysis and scoring) system";
42 homepage = "https://quark-engine.readthedocs.io/";
43 changelog = "https://github.com/quark-engine/quark-engine/releases/tag/v${version}";
44 license = with licenses; [ gpl3Only ];
45 maintainers = with maintainers; [ fab ];
46 };
47}