1{ stdenv, buildPythonPackage, fetchPypi 2, pytest, pytestcache, pep8 }: 3 4buildPythonPackage rec { 5 pname = "pytest-pep8"; 6 version = "1.0.6"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "06032agzhw1i9d9qlhfblnl3dw5hcyxhagn7b120zhrszbjzfbh3"; 11 }; 12 13 buildInputs = [ pytest ]; 14 propagatedBuildInputs = [ pytestcache pep8 ]; 15 16 checkPhase = '' 17 py.test 18 ''; 19 20 # Fails 21 doCheck = false; 22 23 meta = with stdenv.lib; { 24 license = licenses.mit; 25 homepage = https://pypi.python.org/pypi/pytest-pep8; 26 description = "pytest plugin to check PEP8 requirements"; 27 }; 28}