python3Packages.pyvex: 9.0.6281 -> 9.0.6790

This commit is contained in:
Fabian Affolter 2021-04-22 00:47:23 +02:00
parent 6c28f4a26b
commit 2440917f0f

View file

@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "pyvex";
version = "9.0.6281";
version = "9.0.6790";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-E8BYCzV71qVNRzWCCI2yTVU88JVMA08eqnIO8OtbNlM=";
sha256 = "sha256-bqOLHGlLQ12nYzbv9H9nJ0/Q5APJb/9B82YtHk3IvYQ=";
};
propagatedBuildInputs = [
@ -26,9 +26,8 @@ buildPythonPackage rec {
pycparser
];
postPatch = ''
substituteInPlace pyvex_c/Makefile \
--replace "CC=gcc" "CC=${stdenv.cc.targetPrefix}cc"
preBuild = ''
export CC=${stdenv.cc.targetPrefix}cc
'';
# No tests are available on PyPI, GitHub release has tests