nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 gitMinimal,
5 python3,
6}:
7
8python3.pkgs.buildPythonApplication rec {
9 pname = "quark-engine";
10 version = "25.6.1";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "quark-engine";
15 repo = "quark-engine";
16 tag = "v${version}";
17 hash = "sha256-DAD37fzswY3c0d+ubOCYImxs4qyD4fhC3m2l0iD977A=";
18 };
19
20 build-system = with python3.pkgs; [ setuptools ];
21
22 dependencies = with python3.pkgs; [
23 androguard
24 click
25 colorama
26 gitMinimal
27 graphviz
28 pandas
29 plotly
30 prettytable
31 prompt-toolkit
32 r2pipe
33 rzpipe
34 setuptools
35 tqdm
36 ];
37
38 pythonRelaxDeps = [
39 "r2pipe"
40 "androguard"
41 ];
42
43 # Project has no tests
44 doCheck = false;
45
46 pythonImportsCheck = [ "quark" ];
47
48 meta = with lib; {
49 description = "Android malware (analysis and scoring) system";
50 homepage = "https://quark-engine.readthedocs.io/";
51 changelog = "https://github.com/quark-engine/quark-engine/releases/tag/${src.tag}";
52 license = with licenses; [ gpl3Only ];
53 maintainers = with maintainers; [ fab ];
54 };
55}