python312Packages.onnxconverter-common: use python package for protobuf
This commit is contained in:
parent
d10011a5d6
commit
d1380ab059
@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
numpy,
|
||||
packaging,
|
||||
protobuf,
|
||||
@ -14,7 +15,7 @@ buildPythonPackage rec {
|
||||
pname = "onnxconverter-common";
|
||||
version = "1.14.0";
|
||||
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "microsoft";
|
||||
@ -23,7 +24,13 @@ buildPythonPackage rec {
|
||||
hash = "sha256-NbHyjLcr/Gq1zRiJW3ZBpEVQGVQGhp7SmfVd5hBIi2o=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [ "protobuf" ];
|
||||
|
||||
dependencies = [
|
||||
numpy
|
||||
packaging
|
||||
protobuf
|
||||
|
@ -9340,9 +9340,7 @@ self: super: with self; {
|
||||
|
||||
onnx = callPackage ../development/python-modules/onnx { };
|
||||
|
||||
onnxconverter-common = callPackage ../development/python-modules/onnxconverter-common {
|
||||
inherit (pkgs) protobuf;
|
||||
};
|
||||
onnxconverter-common = callPackage ../development/python-modules/onnxconverter-common { };
|
||||
|
||||
onnxmltools = callPackage ../development/python-modules/onnxmltools { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user