git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.pyvex: 9.0.5903 -> 9.0.6281
commit2515b599ebbb645a6953936d04e84dee2010f2b7 authorFabian Affolter <mail@fabian-affolter.ch> dateTue 6 Apr 2021, 16:26 (6 years ago) parent5754266
1 file changed+9−4
pkgs/development/python-modules/pyvex/default.nix+9−4
pkgs/development/python-modules/pyvex/default.nix+9−4
@@ -2,20 +2,20 @@
22, stdenv
33, archinfo
44, bitstring
5−, fetchPypi
6−, cffi
75, buildPythonPackage
6+, cffi
7+, fetchPypi
88, future
99, pycparser
1010}:
1111
1212buildPythonPackage rec {
1313 pname = "pyvex";
14− version = "9.0.5903";
14+ version = "9.0.6281";
1515
1616 src = fetchPypi {
1717 inherit pname version;
18− sha256 = "sha256-qhLlRlmb48zhjX2u9w6TVVv2gb0E9kSapabiv+u4J2s=";
18+ sha256 = "sha256-E8BYCzV71qVNRzWCCI2yTVU88JVMA08eqnIO8OtbNlM=";
1919 };
2020
2121 propagatedBuildInputs = [
@@ -26,6 +26,11 @@ buildPythonPackage rec {
2626 pycparser
2727 ];
2828
29+ postPatch = ''
30+ substituteInPlace pyvex_c/Makefile \
31+ --replace "CC=gcc" "CC=${stdenv.cc.targetPrefix}cc"
32+ '';
33+
2934 # No tests are available on PyPI, GitHub release has tests
3035 # Switch to GitHub release after all angr parts are present
3136 doCheck = false;