python3Packages.parametrize-from-file: switch to pypaBuildHook

This commit is contained in:
Peder Bergebakken Sundt 2023-09-10 00:22:16 +02:00
parent 3b82eeeee0
commit 853e5e7ab9

View file

@ -2,6 +2,7 @@
, buildPythonPackage
, fetchPypi
, fetchpatch
, flit-core
, pytestCheckHook
, coveralls
, numpy
@ -16,7 +17,7 @@
buildPythonPackage rec {
pname = "parametrize-from-file";
version = "0.17.0";
format = "flit";
format = "pyproject";
src = fetchPypi {
inherit version;
@ -40,6 +41,10 @@ buildPythonPackage rec {
--replace "more_itertools~=8.10" "more_itertools"
'';
nativeBuildInputs = [
flit-core
];
nativeCheckInputs = [
numpy
pytestCheckHook