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.

59 lines
1.1 KiB
Nix
Raw Normal View History

2021-10-06 10:23:16 +00:00
{ lib
, fetchFromGitHub
, gitMinimal
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "quark-engine";
2024-02-08 22:16:37 +00:00
version = "24.2.1";
2024-02-09 07:28:42 +00:00
pyproject = true;
2021-10-06 10:23:16 +00:00
src = fetchFromGitHub {
owner = pname;
repo = pname;
2022-12-28 07:28:38 +00:00
rev = "refs/tags/v${version}";
2024-02-08 22:16:37 +00:00
sha256 = "sha256-77yfysmFEneVOiejoCooi1buqEM/Ljv5xqjKv17DFWE=";
2021-10-06 10:23:16 +00:00
};
2024-02-09 07:28:42 +00:00
nativeBuildInputs = with python3.pkgs; [
setuptools
2024-02-10 14:51:10 +00:00
pythonRelaxDepsHook
2024-02-09 07:28:42 +00:00
];
2021-10-06 10:23:16 +00:00
propagatedBuildInputs = with python3.pkgs; [
androguard
click
colorama
gitMinimal
graphviz
pandas
plotly
prettytable
prompt-toolkit
2024-01-28 07:49:11 +00:00
r2pipe
2021-10-06 10:23:16 +00:00
rzpipe
2024-01-28 07:49:11 +00:00
setuptools
2021-10-06 10:23:16 +00:00
tqdm
];
2024-02-10 14:51:10 +00:00
pythonRelaxDeps = [
"r2pipe"
];
2021-10-06 10:23:16 +00:00
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"quark"
];
2021-10-06 10:23:16 +00:00
meta = with lib; {
description = "Android malware (analysis and scoring) system";
homepage = "https://quark-engine.readthedocs.io/";
2022-12-29 15:11:06 +00:00
changelog = "https://github.com/quark-engine/quark-engine/releases/tag/v${version}";
2021-10-06 10:23:16 +00:00
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ fab ];
};
}