3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/security/quark-engine/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
976 B
Nix
Raw Normal View History

2021-10-06 11:23:16 +01:00
{ lib
, fetchFromGitHub
, gitMinimal
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "quark-engine";
2021-10-08 18:12:18 +01:00
version = "21.10.2";
format = "setuptools";
2021-10-06 11:23:16 +01:00
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
2021-10-08 18:12:18 +01:00
sha256 = "0992wsy3plxpcqmq8cnnl0by1vkmkfb4lq2vb5rsj89wj900ci2n";
2021-10-06 11:23:16 +01:00
};
propagatedBuildInputs = with python3.pkgs; [
androguard
click
colorama
gitMinimal
graphviz
pandas
plotly
prettytable
prompt-toolkit
rzpipe
tqdm
];
postPatch = ''
substituteInPlace setup.py \
--replace "prompt-toolkit==3.0.19" "prompt-toolkit>=3.0.19"
'';
2021-10-06 11:23:16 +01:00
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"quark"
];
2021-10-06 11:23:16 +01:00
meta = with lib; {
description = "Android malware (analysis and scoring) system";
homepage = "https://quark-engine.readthedocs.io/";
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ fab ];
};
}