python313Packages.in-place: update build-system

- refactor
This commit is contained in:
Fabian Affolter
2025-03-09 00:53:11 +01:00
parent 6381f838f3
commit d124a832ef
@@ -1,16 +1,17 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
lib,
hatchling,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "in-place";
version = "1.0.1";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -21,13 +22,12 @@ buildPythonPackage rec {
hash = "sha256-PyOSuHHtftEPwL3mTwWYStZNXYX3EhptKfTu0PJjOZ8=";
};
postPatch = ''
substituteInPlace tox.ini --replace "--cov=in_place --no-cov-on-fail" ""
'';
build-system = [ hatchling ];
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "in_place" ];