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