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 format = "setuptools";
12 disabled = pythonOlder "3.5";
15 inherit pname version;
16 sha256 = "953134e97215ae31f6879fbd7368c18d43f709dc2fab5b7777db2bb2bac3a924";
19 buildInputs = [ pytest ];
20 propagatedBuildInputs = [ pyflakes ];
21 nativeCheckInputs = [ pytest ];
25 pythonImportsCheck = [ "pytest_flakes" ];
26 # disable one test case that looks broken
28 py.test test_flakes.py -k 'not test_syntax_error'
32 license = licenses.mit;
33 homepage = "https://pypi.python.org/pypi/pytest-flakes";
34 description = "pytest plugin to check source code with pyflakes";