cron-descriptor: pyproject = true, use pypa hooks

This commit is contained in:
phaer
2024-07-31 13:56:35 +02:00
parent 3ee11b4f6e
commit 5593ad598a
@@ -1,14 +1,16 @@
{
lib,
python,
buildPythonPackage,
fetchFromGitHub,
buildPythonPackage,
mock,
setuptools,
}:
buildPythonPackage rec {
pname = "cron_descriptor";
version = "1.4.3";
pyproject = true;
src = fetchFromGitHub {
owner = "Salamek";
@@ -22,6 +24,7 @@ buildPythonPackage rec {
sed -i "/'pep8\|flake8\|pep8-naming',/d" setup.py
'';
build-system = [ setuptools ];
checkInputs = [ mock ];
checkPhase = ''