21 buildPythonPackage rec {
25 src = fetchFromGitHub {
26 owner = "trailofbits";
29 sha256 = "0z2nhfcraa5dx6srbrw8s11awh2la0x7d88yw9in8g548nv6qa69";
32 propagatedBuildInputs = [
41 ] ++ lib.optionals (stdenv.isLinux) [
47 # Python API is not used in the code, only z3 from PATH
49 sed -ie s/z3-solver// setup.py
52 checkInputs = [ pytestCheckHook ];
53 preCheck = "export PATH=${yices}/bin:${z3}/bin:$PATH";
55 "--ignore=tests/ethereum" # TODO: enable when solc works again
56 "--ignore=tests/ethereum_bench"
57 ] ++ lib.optionals (!stdenv.isLinux) [
58 "--ignore=tests/native"
59 "--ignore=tests/other/test_locking.py"
60 "--ignore=tests/other/test_state_introspection.py"
68 "testmprotectFailSymbReading"
69 "test_ConstraintsForking"
72 "test_symbolic_syscall_arg"
75 "test_register_comparison"
76 "test_arguments_assertions_armv7"
77 "test_integration_basic_stdout"
78 "test_fclose_linux_amd64"
79 "test_fileio_linux_amd64"
80 "test_arguments_assertions_amd64"
85 "test_logger_verbosity"
87 "test_integration_basic_stdin"
90 "test_ld1_mlt_structs"
92 "test_try_to_allocate_greater_than_last_space_memory_page_12"
93 "test_not_enough_memory_page_12"
94 "test_PCMPISTRI_30_symbolic"
95 "test_ld1_mlt_structs"
103 description = "Symbolic execution tool for analysis of smart contracts and binaries";
104 homepage = "https://github.com/trailofbits/manticore";
105 changelog = "https://github.com/trailofbits/manticore/releases/tag/${version}";
106 license = licenses.agpl3Only;
107 platforms = platforms.unix;
108 maintainers = with maintainers; [ arturcygan ];