python3Packages.pytest-check: switch to pypaBuildHook

This commit is contained in:
Peder Bergebakken Sundt 2023-09-10 00:29:52 +02:00
parent 2269823b60
commit 0a45222556

View file

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, flit-core
, pytest
, pytestCheckHook
}:
@ -8,14 +9,18 @@
buildPythonPackage rec {
pname = "pytest-check";
version = "2.1.4";
format = "flit";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-AbN/1wPaD6ZntwF68fBGDHRKhfHuh2de4+D5Ssw98XI=";
};
buildInputs = [
nativeBuildInputs = [
flit-core
];
propagatedBuildInputs = [
pytest
];