10 buildPythonPackage rec {
11 # upstream has abandoned project in favor of pytest-flake8
12 # retaining package to not break other packages
13 pname = "pytest-flakes";
15 format = "setuptools";
16 disabled = pythonOlder "3.5";
19 inherit pname version;
20 sha256 = "953134e97215ae31f6879fbd7368c18d43f709dc2fab5b7777db2bb2bac3a924";
23 buildInputs = [ pytest ];
24 propagatedBuildInputs = [ pyflakes ];
25 nativeCheckInputs = [ pytest ];
29 pythonImportsCheck = [ "pytest_flakes" ];
30 # disable one test case that looks broken
32 py.test test_flakes.py -k 'not test_syntax_error'
36 license = licenses.mit;
37 homepage = "https://pypi.python.org/pypi/pytest-flakes";
38 description = "pytest plugin to check source code with pyflakes";