python3Packages.threadpoolctl: switch to pypaBuildHook

This commit is contained in:
Peder Bergebakken Sundt 2023-09-10 00:38:33 +02:00
parent 7040fb7e9a
commit 37303b44db

View file

@ -2,7 +2,7 @@
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, flit
, flit-core
, pytestCheckHook
, numpy
, scipy
@ -13,7 +13,7 @@ buildPythonPackage rec {
version = "3.1.0";
disabled = pythonOlder "3.6";
format = "flit";
format = "pyproject";
src = fetchFromGitHub {
owner = "joblib";
@ -22,6 +22,10 @@ buildPythonPackage rec {
hash = "sha256-/qt7cgFbvpc1BLZC7a4S0RToqSggKXAqF1Xr6xOqzw8=";
};
nativeBuildInputs = [
flit-core
];
nativeCheckInputs = [
pytestCheckHook
numpy