python3Packages.onnx: 1.18.0 -> 1.19.0

Diff: https://github.com/onnx/onnx/compare/v1.18.0...v1.19.0

Changelog: https://github.com/onnx/onnx/releases/tag/v1.19.0

Changed files
+5 -11
pkgs
development
python-modules
+5 -11
pkgs/development/python-modules/onnx/default.nix
···
gtest,
# dependencies
+
ml-dtypes,
numpy,
typing-extensions,
# tests
google-re2,
-
ml-dtypes,
nbval,
parameterized,
pillow,
···
in
buildPythonPackage rec {
pname = "onnx";
-
version = "1.18.0";
+
version = "1.19.0";
pyproject = true;
src = fetchFromGitHub {
owner = "onnx";
repo = "onnx";
tag = "v${version}";
-
hash = "sha256-UhtF+CWuyv5/Pq/5agLL4Y95YNP63W2BraprhRqJOag=";
+
hash = "sha256-dDc7ugzQHcArf9TRcF9Ofv16jc3gqhMWCZrYKJ7Udfw=";
};
build-system = [
···
];
dependencies = [
-
protobuf
+
ml-dtypes
numpy
+
protobuf
typing-extensions
];
···
tabulate
writableTmpDirAsHomeHook
];
-
-
postPatch = ''
-
rm -r third_party
-
-
chmod +x tools/protoc-gen-mypy.sh.in
-
patchShebangs tools/protoc-gen-mypy.sh.in
-
'';
preConfigure = ''
# Set CMAKE_INSTALL_LIBDIR to lib explicitly, because otherwise it gets set