depot/third_party/nixpkgs/pkgs/tools/security/quark-engine/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

53 lines
1 KiB
Nix

{
lib,
fetchFromGitHub,
gitMinimal,
python3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "quark-engine";
version = "24.9.1";
pyproject = true;
src = fetchFromGitHub {
owner = "quark-engine";
repo = "quark-engine";
rev = "refs/tags/v${version}";
hash = "sha256-DmiqsYEdCh9hG5aa41UymW8IDkba4fuCrtM10A0X2Gg=";
};
build-system = with python3.pkgs; [ setuptools ];
dependencies = with python3.pkgs; [
androguard
click
colorama
gitMinimal
graphviz
pandas
plotly
prettytable
prompt-toolkit
r2pipe
rzpipe
setuptools
tqdm
];
pythonRelaxDeps = [ "r2pipe" ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "quark" ];
meta = with lib; {
description = "Android malware (analysis and scoring) system";
homepage = "https://quark-engine.readthedocs.io/";
changelog = "https://github.com/quark-engine/quark-engine/releases/tag/v${version}";
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ fab ];
};
}