1{ 2 lib, 3 isPyPy, 4 buildPythonPackage, 5 pytest-fixture-config, 6 7 # build-time 8 setuptools, 9 10 # runtime 11 pytest, 12 execnet, 13 termcolor, 14 six, 15 16 # tests 17 pytestCheckHook, 18}: 19 20buildPythonPackage { 21 pname = "pytest-shutil"; 22 inherit (pytest-fixture-config) version src patches; 23 pyproject = true; 24 25 postPatch = '' 26 cd pytest-shutil 27 ''; 28 29 build-system = [ 30 setuptools 31 ]; 32 33 buildInputs = [ pytest ]; 34 35 dependencies = [ 36 execnet 37 termcolor 38 six 39 ]; 40 41 nativeCheckInputs = [ pytestCheckHook ]; 42 43 disabledTests = lib.optionals isPyPy [ 44 "test_run" 45 "test_run_integration" 46 ]; 47 48 meta = with lib; { 49 description = "Goodie-bag of unix shell and environment tools for py.test"; 50 homepage = "https://github.com/manahl/pytest-plugins"; 51 maintainers = with maintainers; [ ryansydnor ]; 52 license = licenses.mit; 53 }; 54}