python312Packages.angr: migrate to unicorn-angr
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
sortedcontainers,
|
||||
sqlalchemy,
|
||||
sympy,
|
||||
unicorn,
|
||||
unicorn-angr,
|
||||
unique-log-filter,
|
||||
}:
|
||||
|
||||
@@ -48,16 +48,7 @@ buildPythonPackage rec {
|
||||
hash = "sha256-rrJTYe3o/Ra8+EKAA7t0M02tWVN4Ul5ueUar7lpUvMg=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# unicorn is also part of build-system
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "unicorn==2.0.1.post1" "unicorn"
|
||||
'';
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"capstone"
|
||||
"unicorn"
|
||||
];
|
||||
pythonRelaxDeps = [ "capstone" ];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -87,7 +78,7 @@ buildPythonPackage rec {
|
||||
sortedcontainers
|
||||
sqlalchemy
|
||||
sympy
|
||||
unicorn
|
||||
unicorn-angr
|
||||
unique-log-filter
|
||||
];
|
||||
|
||||
@@ -117,7 +108,5 @@ buildPythonPackage rec {
|
||||
homepage = "https://angr.io/";
|
||||
license = with licenses; [ bsd2 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
# angr is pining unicorn
|
||||
broken = versionAtLeast unicorn.version "2.0.1.post1";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user