python3Packages.assertpy: migrate to pyproject

This commit is contained in:
Harinn
2026-06-03 21:18:11 +07:00
parent d06655dd2b
commit 91c1efbc6b
@@ -3,12 +3,13 @@
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "assertpy";
version = "1.1";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "assertpy";
@@ -17,6 +18,8 @@ buildPythonPackage rec {
sha256 = "0hnfh45cmqyp7zasrllwf8gbq3mazqlhhk0sq1iqlh6fig0yfq2f";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "assertpy" ];