Merge pull request #125767 from fabaff/clean-angrop

python3Packages.angrop: remove postPatch
This commit is contained in:
Fabian Affolter 2021-06-05 12:48:08 +02:00 committed by GitHub
commit b10af30846
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,13 +25,6 @@ buildPythonPackage rec {
tqdm
];
postPatch = ''
# https://github.com/angr/angrop/issues/35
substituteInPlace setup.py \
--replace "packages=['angrop']," "packages=find_packages()," \
--replace "from distutils.core import setup" "from setuptools import find_packages, setup"
'';
# Tests have additional requirements, e.g., angr binaries
# cle is executing the tests with the angr binaries already and is a requirement of angr
doCheck = false;