Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
2.1 kB · 123 lines
Nix
at gcc-offload
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124{ lib, stdenv, ailment, archinfo, buildPythonPackage, cachetools, capstone, cffi, claripy, cle, cppheaderparser, dpkt, fetchFromGitHub, gitpython, itanium-demangler, mulpyplexer, nampa, networkx, progressbar2, protobuf, psutil, pycparser, pyformlang, pythonOlder, pyvex, rich, rpyc, setuptools, sortedcontainers, sqlalchemy, sympy, unicorn, unique-log-filter,}:
buildPythonPackage rec { pname = "angr"; version = "9.2.133"; pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub { owner = "angr"; repo = "angr"; rev = "refs/tags/v${version}"; hash = "sha256-dHksVhuQUC0f55WNPSkVHTXTGVuul742LeWSz0CTwrw="; };
postPatch = '' # unicorn is also part of build-system substituteInPlace pyproject.toml \ --replace-fail "unicorn==2.0.1.post1" "unicorn" '';
pythonRelaxDeps = [ "capstone" "unicorn" ];
build-system = [ setuptools ];
dependencies = [ ailment archinfo cachetools capstone cffi claripy cle cppheaderparser dpkt gitpython itanium-demangler mulpyplexer nampa networkx progressbar2 protobuf psutil pycparser pyformlang pyvex rich rpyc sortedcontainers sqlalchemy sympy unicorn unique-log-filter ];
optional-dependencies = { AngrDB = [ sqlalchemy ]; };
setupPyBuildFlags = lib.optionals stdenv.hostPlatform.isLinux [ "--plat-name" "linux" ];
# Tests have additional requirements, e.g., pypcode and angr binaries # cle is executing the tests with the angr binaries doCheck = false;
pythonImportsCheck = [ "angr" "claripy" "cle" "pyvex" "archinfo" ];
meta = with lib; { description = "Powerful and user-friendly binary analysis platform"; homepage = "https://angr.io/"; license = with licenses; [ bsd2 ]; maintainers = with maintainers; [ fab ]; # angr is pining unicorn broken = versionAtLeast unicorn.version "2.0.1.post1"; };}