python3Packages.pyvex: 9.0.5903 -> 9.0.6281

This commit is contained in:
Fabian Affolter 2021-04-06 16:26:47 +02:00
parent 57542662e9
commit 2515b599eb

View File

@ -2,20 +2,20 @@
, stdenv , stdenv
, archinfo , archinfo
, bitstring , bitstring
, fetchPypi
, cffi
, buildPythonPackage , buildPythonPackage
, cffi
, fetchPypi
, future , future
, pycparser , pycparser
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyvex"; pname = "pyvex";
version = "9.0.5903"; version = "9.0.6281";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-qhLlRlmb48zhjX2u9w6TVVv2gb0E9kSapabiv+u4J2s="; sha256 = "sha256-E8BYCzV71qVNRzWCCI2yTVU88JVMA08eqnIO8OtbNlM=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -26,6 +26,11 @@ buildPythonPackage rec {
pycparser pycparser
]; ];
postPatch = ''
substituteInPlace pyvex_c/Makefile \
--replace "CC=gcc" "CC=${stdenv.cc.targetPrefix}cc"
'';
# No tests are available on PyPI, GitHub release has tests # No tests are available on PyPI, GitHub release has tests
# Switch to GitHub release after all angr parts are present # Switch to GitHub release after all angr parts are present
doCheck = false; doCheck = false;