python3Packages.ydiff: migrate to pyproject

This commit is contained in:
Harinn
2026-06-13 03:24:48 +07:00
parent b92da2f265
commit a35be32796
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pygments,
gitMinimal,
mercurial,
@@ -13,7 +14,7 @@
buildPythonPackage rec {
pname = "ydiff";
version = "1.5";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "ymattw";
@@ -36,6 +37,8 @@ buildPythonPackage rec {
patchShebangs tests/*.sh
'';
build-system = [ setuptools ];
nativeCheckInputs = [ pygments ];
checkPhase = ''