diff --git a/pkgs/development/python-modules/onnxconverter-common/default.nix b/pkgs/development/python-modules/onnxconverter-common/default.nix index d19702f214a7..d45d82da0e3a 100644 --- a/pkgs/development/python-modules/onnxconverter-common/default.nix +++ b/pkgs/development/python-modules/onnxconverter-common/default.nix @@ -9,22 +9,22 @@ , onnxruntime }: -buildPythonPackage { +buildPythonPackage rec { pname = "onnxconverter-common"; - version = "1.12.2"; # Upstream no longer seems to push tags + version = "1.13.0"; format = "setuptools"; src = fetchFromGitHub { owner = "microsoft"; repo = "onnxconverter-common"; - rev = "814cdf494d987900d30b16971c0e8334aaca9ae6"; - hash = "sha256-XA/kl8aT1wLthl1bMihtv/1ELOW1sGO/It5XfJtD+sY="; + rev = "refs/tags/v${version}"; + hash = "sha256-VT9ly0d0Yhw1J6C521oUyaCx4WtFSdpyk8EdIKlre3c="; }; propagatedBuildInputs = [ numpy - packaging # undeclared dependency + packaging protobuf onnx ]; @@ -42,6 +42,8 @@ buildPythonPackage { meta = { description = "ONNX Converter and Optimization Tools"; + homepage = "https://github.com/microsoft/onnxconverter-common"; + changelog = "https://github.com/microsoft/onnxconverter-common/releases/tag/v${version}"; maintainers = with lib.maintainers; [ fridh ]; license = with lib.licenses; [ mit ]; };