python3Packages.apcaccess: migrate to pyproject

This commit is contained in:
Harinn
2026-06-04 19:14:25 +07:00
parent 384f060266
commit 5148bf43fd
@@ -3,12 +3,13 @@
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "apcaccess";
version = "0.0.13";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "flyte";
@@ -22,6 +23,8 @@ buildPythonPackage rec {
--replace "setup_requires='pytest-runner'," ""
'';
build-system = [ setuptools ];
pythonImportsCheck = [ "apcaccess" ];
nativeCheckInputs = [ pytestCheckHook ];