amoco: init at 2.9.8

This commit is contained in:
Fabian Affolter 2022-09-29 08:50:46 +02:00
parent 09b5c88b9a
commit 0d095b3a0a
2 changed files with 74 additions and 0 deletions

View File

@ -0,0 +1,72 @@
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "amoco";
version = "2.9.8";
format = "setuptools";
src = fetchFromGitHub {
owner = "bdcht";
repo = pname;
rev = "v${version}";
hash = "sha256-3+1ssFyU7SKFJgDYBQY0kVjmTHOD71D2AjnH+4bfLXo=";
};
nativeBuildInputs = with python3.pkgs; [
pythonRelaxDepsHook
];
propagatedBuildInputs = with python3.pkgs; [
blessed
click
crysp
grandalf
pyparsing
tqdm
traitlets
];
passthru.optional-dependencies = {
app = with python3.pkgs; [
# ccrawl
ipython
prompt-toolkit
pygments
# pyside6
z3
];
};
checkInputs = with python3.pkgs; [
pytestCheckHook
];
postPatch = ''
substituteInPlace setup.py \
--replace "'pytest-runner'," ""
'';
pythonRelaxDeps = [
"grandalf"
"crysp"
];
pythonImportsCheck = [
"amoco"
];
disabledTests = [
# AttributeError: 'str' object has no attribute '__dict__'
"test_func"
];
meta = with lib; {
description = "Tool for analysing binaries";
homepage = "https://github.com/bdcht/amoco";
license = licenses.gpl2Only;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -2853,6 +2853,8 @@ with pkgs;
inherit (androidenv.androidPkgs_9_0) platform-tools;
};
amoco = callPackage ../tools/security/amoco {};
anbox = callPackage ../os-specific/linux/anbox { };
androidenv = callPackage ../development/mobile/androidenv {