about summary refs log tree commit diff
path: root/pkgs/tools/security/quark-engine
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-10-06 12:23:16 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2021-10-06 12:23:16 +0200
commit4f72c154239f2072f6377496fdcac6f415dfa643 (patch)
treef60223ba7f2e7248a2bb816e8473d6eba6e75c37 /pkgs/tools/security/quark-engine
parent76b08fcbbf08b18f44eb8c3d1fb96a8ef279ebd4 (diff)
quark-engine: init at 21.8.1
Diffstat (limited to 'pkgs/tools/security/quark-engine')
-rw-r--r--pkgs/tools/security/quark-engine/default.nix45
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/tools/security/quark-engine/default.nix b/pkgs/tools/security/quark-engine/default.nix
new file mode 100644
index 0000000000000..c77abfe2ad7d3
--- /dev/null
+++ b/pkgs/tools/security/quark-engine/default.nix
@@ -0,0 +1,45 @@
+{ lib
+, fetchFromGitHub
+, gitMinimal
+, python3
+}:
+
+python3.pkgs.buildPythonApplication rec {
+  pname = "quark-engine";
+  version = "21.8.1";
+
+  disabled = python3.pythonOlder "3.6";
+
+  src = fetchFromGitHub {
+    owner = pname;
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "0ksmzwji4c98pnqns780n5rdm5r1zx7sc40w8qipk2nf6jncwv6p";
+  };
+
+  propagatedBuildInputs = with python3.pkgs; [
+    androguard
+    click
+    colorama
+    gitMinimal
+    graphviz
+    pandas
+    plotly
+    prettytable
+    prompt-toolkit
+    rzpipe
+    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/";
+    license = with licenses; [ gpl3Only ];
+    maintainers = with maintainers; [ fab ];
+  };
+}