python311Packages.pytest-repeat: fix build

+7 -4
+7 -4
pkgs/development/python-modules/pytest-repeat/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 + , hatchling 5 + , hatch-vcs 4 6 , pytest 5 7 , pytestCheckHook 6 8 , pythonOlder 7 - , setuptools-scm 8 9 }: 9 10 10 11 buildPythonPackage rec { 11 12 pname = "pytest-repeat"; 12 13 version = "0.9.3"; 13 - format = "setuptools"; 14 + pyproject = true; 14 15 15 16 disabled = pythonOlder "3.7"; 16 17 17 18 src = fetchPypi { 18 - inherit pname version; 19 + pname = "pytest_repeat"; 20 + inherit version; 19 21 hash = "sha256-/9ODbfzWe7JwvsZIszDiC+N9KWZEjEFIxAktHoq6gYU="; 20 22 }; 21 23 22 24 nativeBuildInputs = [ 23 - setuptools-scm 25 + hatchling 26 + hatch-vcs 24 27 ]; 25 28 26 29 buildInputs = [