python312Packages.paddle2onnx: 2.0.0 -> 2.0.1

This commit is contained in:
emaryn 2025-06-10 07:53:53 +08:00 committed by emaryn
parent e72c2aa530
commit 462bc45409

View File

@ -6,10 +6,11 @@
pythonAtLeast,
python,
onnx,
paddlepaddle,
}:
let
pname = "paddle2onnx";
version = "2.0.0";
version = "2.0.1";
format = "wheel";
pyShortVersion = "cp${builtins.replaceStrings [ "." ] [ "" ] python.pythonVersion}";
src = fetchPypi {
@ -17,8 +18,8 @@ let
dist = pyShortVersion;
python = pyShortVersion;
abi = pyShortVersion;
platform = "manylinux_2_12_x86_64.manylinux2010_x86_64";
hash = "sha256-9lkQLBHd/EWiuRu40Z6bBCrmqCgCW3xAx/bxmeSJJ8g=";
platform = "manylinux_2_24_x86_64.manylinux_2_28_x86_64";
hash = "sha256-RCD6iTvzhGrFjW02lasTwQoM+Xa68Q5b6Ito3KvqdHg=";
};
in
buildPythonPackage {
@ -29,16 +30,20 @@ buildPythonPackage {
format
;
disabled = pythonOlder "3.8" || pythonAtLeast "3.11";
disabled = pythonOlder "3.12" || pythonAtLeast "3.13";
propagatedBuildInputs = [ onnx ];
dependencies = [
onnx
paddlepaddle
];
meta = with lib; {
meta = {
description = "ONNX Model Exporter for PaddlePaddle";
homepage = "https://github.com/PaddlePaddle/Paddle2ONNX";
changelog = "https://github.com/PaddlePaddle/Paddle2ONNX/releases/tag/v${version}";
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ happysalada ];
mainProgram = "paddle2onnx";
license = lib.licenses.asl20;
platforms = [ "x86_64-linux" ];
maintainers = with lib.maintainers; [ happysalada ];
};
}