37 buildPythonPackage rec {
42 disabled = pythonOlder "3.11";
44 src = fetchFromGitHub {
47 rev = "refs/tags/v${version}";
48 hash = "sha256-DtmjtxO2eOq2qz48uMkNOlGhIsc+LVOWGh0PpPIzaow=";
52 # unicorn is also part of build-system
53 substituteInPlace pyproject.toml \
54 --replace-fail "unicorn==2.0.1.post1" "unicorn"
62 build-system = [ setuptools ];
94 optional-dependencies = {
95 AngrDB = [ sqlalchemy ];
98 setupPyBuildFlags = lib.optionals stdenv.hostPlatform.isLinux [
103 # Tests have additional requirements, e.g., pypcode and angr binaries
104 # cle is executing the tests with the angr binaries
107 pythonImportsCheck = [
116 description = "Powerful and user-friendly binary analysis platform";
117 homepage = "https://angr.io/";
118 license = with licenses; [ bsd2 ];
119 maintainers = with maintainers; [ fab ];
120 # angr is pining unicorn
121 broken = versionAtLeast unicorn.version "2.0.1.post1";