1{ lib, isPyPy, buildPythonPackage, fetchPypi 2, pytest, cmdline, pytest-cov, coverage, setuptools-git, mock, pathpy, execnet 3, contextlib2, termcolor }: 4 5buildPythonPackage rec { 6 pname = "pytest-shutil"; 7 version = "1.7.0"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "0q8j0ayzmnvlraml6i977ybdq4xi096djhf30n2m1rvnvrhm45nq"; 12 }; 13 14 buildInputs = [ pytest ]; 15 checkInputs = [ cmdline pytest ]; 16 propagatedBuildInputs = [ pytest-cov coverage setuptools-git mock pathpy execnet contextlib2 termcolor ]; 17 18 checkPhase = '' 19 py.test ${lib.optionalString isPyPy "-k'not (test_run or test_run_integration)'"} 20 ''; 21 22 meta = with lib; { 23 description = "A goodie-bag of unix shell and environment tools for py.test"; 24 homepage = "https://github.com/manahl/pytest-plugins"; 25 maintainers = with maintainers; [ ryansydnor ]; 26 license = licenses.mit; 27 }; 28}