depot/third_party/nixpkgs/pkgs/tools/security/quark-engine/default.nix
Default email 93df2b837e Project import generated by Copybara.
GitOrigin-RevId: 18d4025a8ee2f656d897505ccd0ba61a5b89bbea
2021-10-08 17:17:17 +02:00

45 lines
862 B
Nix

{ 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 ];
};
}