13 # onnxruntime requires an older protobuf.
14 # Doing an override in protobuf in the python-packages set
15 # can give you a functioning Python package but note not
16 # all Python packages will be compatible then.
18 # Because protobuf is not always needed we remove it
19 # as a runtime dependency from our wheel.
21 # We do include here the non-Python protobuf so the shared libs
22 # link correctly. If you do also want to include the Python
23 # protobuf, you can add it to your Python env, but be aware
24 # the version likely mismatches with what is used here.
27 inherit (onnxruntime) pname version;
29 src = onnxruntime.dist;
41 # This project requires fairly large dependencies such as sympy which we really don't always need.
48 # Libraries are not linked correctly.
54 propagatedBuildInputs = [
63 meta = onnxruntime.meta // { maintainers = with lib.maintainers; [ fridh ]; };