@@ -10539,24 +10539,15 @@ in modules // {
1053910539
1054010540 flake8 = buildPythonPackage rec {
1054110541 name = "flake8-${version}";
10542− version = "3.0.4";
10542+ version = "2.5.4";
1054310543
1054410544 src = pkgs.fetchurl {
1054510545 url = "mirror://pypi/f/flake8/${name}.tar.gz";
10546− sha256 = "03cpdrjxh0fyi2qpdxbbrmxw7whiq3xr3p958gr6yzghk34i1hml";
10546+ sha256 = "0bs9cz4fr99r2rwig1b8jwaadl1nan7kgpdzqwj0bwbckwbmh7nc";
1054710547 };
1054810548
10549− buildInputs = with self; [ nose mock pytestrunner pytest ];
10550− propagatedBuildInputs = with self; [ pyflakes pep8 mccabe enum34 configparser pycodestyle ];
10551−
10552− patches = [
10553− ../development/python-modules/flake8/move-pytest-config-to-pytest-ini.patch
10554− ];
10555−
10556− # Tests fail due to missing ini file.
10557− preCheck = ''
10558− touch tox.ini
10559− '';
10549+ buildInputs = with self; [ nose mock ];
10550+ propagatedBuildInputs = with self; [ pyflakes pep8 mccabe ];
1056010551
1056110552 meta = {
1056210553 description = "Code checking using pep8 and pyflakes";