python3Packages.base36: migrate to pyproject

This commit is contained in:
Harinn
2026-06-06 01:14:10 +07:00
parent 95543ad778
commit 6f64e7b1aa
@@ -2,13 +2,14 @@
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "base36";
version = "0.1.1";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "tonyseek";
@@ -17,6 +18,8 @@ buildPythonPackage rec {
sha256 = "076nmk9s0zkmgs2zqzkaqij5cmzhf4mrhivbb9n6cvz52i1mppr5";
};
build-system = [ setuptools ];
postPatch = ''
substituteInPlace setup.cfg \
--replace "[pytest]" "[tool:pytest]" \