1 { lib, buildPythonPackage, fetchPypi, pythonOlder
6 buildPythonPackage rec {
7 # upstream has abandoned project in favor of pytest-flake8
8 # retaining package to not break other packages
9 pname = "pytest-flakes";
11 disabled = pythonOlder "3.5";
14 inherit pname version;
15 sha256 = "bf070c5485dad82d5b5f5d0eb08d269737e378492d9a68f5223b0a90924c7754";
18 buildInputs = [ pytest ];
19 propagatedBuildInputs = [ pyflakes ];
20 checkInputs = [ pytest ];
24 pythonImportsCheck = [ "pytest_flakes" ];
25 # disable one test case that looks broken
27 py.test test_flakes.py -k 'not test_syntax_error'
31 license = licenses.mit;
32 homepage = "https://pypi.python.org/pypi/pytest-flakes";
33 description = "pytest plugin to check source code with pyflakes";