python311Packages.pyvex: refactor
This commit is contained in:
parent
8c93cec377
commit
e4daa76528
|
@ -16,14 +16,14 @@
|
|||
|
||||
let
|
||||
# The binaries are following the argr projects release cycle
|
||||
version = "9.2.84";
|
||||
version = "9.2.96";
|
||||
|
||||
# Binary files from https://github.com/angr/binaries (only used for testing and only here)
|
||||
binaries = fetchFromGitHub {
|
||||
owner = "angr";
|
||||
repo = "binaries";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-sU9Rv2kTLYMpaalrkcOv6HlHt1u4oG482M+d7OSjJ3Y=";
|
||||
hash = "sha256-eC9qQCrms4pSXYTrKJlfdejhl/kzUmmyfYhjlEPpgzA=";
|
||||
};
|
||||
|
||||
in
|
||||
|
@ -38,7 +38,7 @@ buildPythonPackage rec {
|
|||
owner = "angr";
|
||||
repo = "cle";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-N0z5wgaeWkoPuhIUj7bj1kDKgZ7pWChm1uEU4MjXjqI=";
|
||||
hash = "sha256-osClaoAzjf3mOng38disxxSFncbc/V7Uuc1HCTdX4SQ=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
|
|
@ -23,11 +23,11 @@ buildPythonPackage rec {
|
|||
hash = "sha256-44F1EE8TRsmYRnMNQakxIaFdAuZKpHIDsq+M1cK/pQk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
archinfo
|
||||
bitstring
|
||||
cffi
|
||||
|
@ -37,7 +37,7 @@ buildPythonPackage rec {
|
|||
|
||||
postPatch = lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace vex/Makefile-gcc \
|
||||
--replace '/usr/bin/ar' 'ar'
|
||||
--replace-fail '/usr/bin/ar' 'ar'
|
||||
'';
|
||||
|
||||
setupPyBuildFlags = lib.optionals stdenv.isLinux [
|
||||
|
|
Loading…
Reference in New Issue
Block a user