python3Packages.before-after: migrate to pyproject

This commit is contained in:
Harinn
2026-06-06 02:19:20 +07:00
parent 95543ad778
commit 08cf3d9531
@@ -2,6 +2,7 @@
buildPythonPackage,
fetchPypi,
fetchpatch,
setuptools,
pytestCheckHook,
lib,
}:
@@ -9,7 +10,7 @@
buildPythonPackage rec {
pname = "before-after";
version = "1.0.1";
format = "setuptools";
pyproject = true;
src = fetchPypi {
pname = "before_after";
@@ -29,6 +30,8 @@ buildPythonPackage rec {
})
];
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "before_after" ];