18 # The binaries are following the argr projects release cycle
21 # Binary files from https://github.com/angr/binaries (only used for testing and only here)
22 binaries = fetchFromGitHub {
25 rev = "refs/tags/v${version}";
26 hash = "sha256-YPxdKwR+pq0S1B9GltE8r3bFWDPpCU8OQ05w+kp4lAs=";
30 buildPythonPackage rec {
35 disabled = pythonOlder "3.11";
37 src = fetchFromGitHub {
40 rev = "refs/tags/v${version}";
41 hash = "sha256-tdfV+DoDcRO+8TjiBc0u1huA+etF4MY5uYj670lqudY=";
48 propagatedBuildInputs = [
63 # Place test binaries in the right location (location is hard-coded in the tests)
66 cp -r ${binaries} $HOME/binaries
70 # PPC tests seems to fails
71 "test_ppc_rel24_relocation"
72 "test_ppc_addr16_ha_relocation"
73 "test_ppc_addr16_lo_relocation"
76 "test_tls_pe_incorrect_tls_data_start"
79 # The required parts is not present on Nix
80 "test_remote_file_map"
83 pythonImportsCheck = [
88 description = "Python loader for many binary formats";
89 homepage = "https://github.com/angr/cle";
90 license = with licenses; [ bsd2 ];
91 maintainers = with maintainers; [ fab ];