diff --git a/pkgs/development/python-modules/uarray/default.nix b/pkgs/development/python-modules/uarray/default.nix index a151ba1f1d80..777bfd3c6fb2 100644 --- a/pkgs/development/python-modules/uarray/default.nix +++ b/pkgs/development/python-modules/uarray/default.nix @@ -2,14 +2,17 @@ lib, buildPythonPackage, fetchFromGitHub, + scikit-build-core, setuptools, setuptools-scm, + cmake, + ninja, matchpy, numpy, astunparse, typing-extensions, - pytest7CheckHook, - pytest-cov, + pytestCheckHook, + pytest-cov-stub, }: buildPythonPackage rec { @@ -24,11 +27,15 @@ buildPythonPackage rec { hash = "sha256-q9lMU/xA+G2x38yZy3DxCpXTEmg1lZhZ8GFIHDIKE24="; }; - nativeBuildInputs = [ + build-system = [ + scikit-build-core setuptools setuptools-scm + cmake + ninja ]; - build-system = [ setuptools ]; + + dontUseCmakeConfigure = true; dependencies = [ astunparse @@ -38,8 +45,8 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ - pytest7CheckHook - pytest-cov + pytestCheckHook + pytest-cov-stub ]; # Tests must be run from outside the source directory @@ -58,6 +65,6 @@ buildPythonPackage rec { description = "Universal array library"; homepage = "https://github.com/Quansight-Labs/uarray"; license = licenses.bsd0; - maintainers = [ ]; + maintainers = [ lib.maintainers.pbsds ]; }; }