1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools-scm 5, pytest 6}: 7 8buildPythonPackage rec { 9 pname = "pytest-runner"; 10 version = "6.0.0"; 11 format = "pyproject"; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-tNhTYu0ptMNIZ43nl99Djw8FCUl924xkcJbAKm2HtoU="; 16 }; 17 18 postPatch = '' 19 rm pytest.ini 20 ''; 21 22 nativeBuildInputs = [ 23 setuptools-scm 24 pytest 25 ]; 26 27 checkPhase = '' 28 py.test tests 29 ''; 30 31 # Fixture not found 32 doCheck = false; 33 34 meta = with lib; { 35 description = "Invoke py.test as distutils command with dependency resolution"; 36 homepage = "https://github.com/pytest-dev/pytest-runner"; 37 license = licenses.mit; 38 }; 39}