onnxslim: uses hatchling, not setuptools (#498053)

This commit is contained in:
Gaétan Lepage
2026-03-08 23:49:56 +00:00
committed by GitHub
@@ -4,7 +4,7 @@
fetchFromGitHub,
# build-system
setuptools,
hatchling,
# dependencies
colorama,
@@ -13,7 +13,7 @@
sympy,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "onnxslim";
version = "0.1.82";
pyproject = true;
@@ -21,12 +21,12 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "inisis";
repo = "OnnxSlim";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-hrrCodLaHVo/YRq0HczxogcZQSwZKxZthyLYxz/+XJ0=";
};
build-system = [
setuptools
hatchling
];
dependencies = [
@@ -46,4 +46,4 @@ buildPythonPackage rec {
homepage = "https://pypi.org/project/onnxslim/";
license = lib.licenses.mit;
};
}
})