Unverified Commit 9ff14448 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

onnxslim: uses hatchling, not setuptools (#498053)

parents 43301096 0890fdf0
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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;
  };
}
})