Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, buildPythonPackage, fetchPypi 2, pytest_3, cmdline, pytestcov, coverage, setuptools-git, mock, pathpy, execnet 3, contextlib2, termcolor }: 4 5buildPythonPackage rec { 6 pname = "pytest-shutil"; 7 version = "1.6.0"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "efe615b7709637ec8828abebee7fc2ad033ae0f1fc54145f769a8b5e8cc3b4ca"; 12 }; 13 14 checkInputs = [ cmdline pytest_3 ]; 15 propagatedBuildInputs = [ pytestcov coverage setuptools-git mock pathpy execnet contextlib2 termcolor ]; 16 nativeBuildInputs = [ pytest_3 ]; 17 18 checkPhase = '' 19 py.test 20 ''; 21 22 meta = with stdenv.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}