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