lol

python313Packages.in-place: update build-system

- refactor

+9 -9
+9 -9
pkgs/development/python-modules/in-place/default.nix
··· 1 1 { 2 + lib, 2 3 buildPythonPackage, 3 4 fetchFromGitHub, 4 - lib, 5 + hatchling, 6 + pytest-cov-stub, 5 7 pytestCheckHook, 6 8 pythonOlder, 7 - setuptools, 8 9 }: 9 10 10 11 buildPythonPackage rec { 11 12 pname = "in-place"; 12 13 version = "1.0.1"; 13 - format = "pyproject"; 14 + pyproject = true; 14 15 15 16 disabled = pythonOlder "3.8"; 16 17 ··· 21 22 hash = "sha256-PyOSuHHtftEPwL3mTwWYStZNXYX3EhptKfTu0PJjOZ8="; 22 23 }; 23 24 24 - postPatch = '' 25 - substituteInPlace tox.ini --replace "--cov=in_place --no-cov-on-fail" "" 26 - ''; 25 + build-system = [ hatchling ]; 27 26 28 - nativeBuildInputs = [ setuptools ]; 29 - 30 - nativeCheckInputs = [ pytestCheckHook ]; 27 + nativeCheckInputs = [ 28 + pytest-cov-stub 29 + pytestCheckHook 30 + ]; 31 31 32 32 pythonImportsCheck = [ "in_place" ]; 33 33