python3Packages.onnx: 1.11.0 -> 1.12.0

This commit is contained in:
Martin Weinelt 2022-07-16 12:59:21 +02:00
parent 761000dced
commit d00b846bd3

View File

@ -15,14 +15,14 @@
buildPythonPackage rec {
pname = "onnx";
version = "1.11.0";
version = "1.12.0";
format = "setuptools";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-7KIkx8LI7kByoHQ+SJioSpvfgpe15ZEKJjLkxBgv+yo=";
sha256 = "sha256-E7PnfSdSO52/TzDfyclZRVhZ1eNOkhxE9xLWm4Np7/k=";
};
nativeBuildInputs = [
@ -47,8 +47,8 @@ buildPythonPackage rec {
patchShebangs tools/protoc-gen-mypy.py
substituteInPlace tools/protoc-gen-mypy.sh.in \
--replace "/bin/bash" "${bash}/bin/bash"
substituteInPlace setup.py \
--replace "setup_requires.append('pytest-runner')" ""
sed -i '/pytest-runner/d' setup.py
'';
preBuild = ''