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