python3Packages.parametrize-from-file: switch to pypaBuildHook
This commit is contained in:
parent
3b82eeeee0
commit
853e5e7ab9
|
@ -2,6 +2,7 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
|
, flit-core
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, coveralls
|
, coveralls
|
||||||
, numpy
|
, numpy
|
||||||
|
@ -16,7 +17,7 @@
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "parametrize-from-file";
|
pname = "parametrize-from-file";
|
||||||
version = "0.17.0";
|
version = "0.17.0";
|
||||||
format = "flit";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit version;
|
inherit version;
|
||||||
|
@ -40,6 +41,10 @@ buildPythonPackage rec {
|
||||||
--replace "more_itertools~=8.10" "more_itertools"
|
--replace "more_itertools~=8.10" "more_itertools"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
flit-core
|
||||||
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
numpy
|
numpy
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
|
|
Loading…
Reference in a new issue