@@ -10557,6 +10557,35 @@ in modules // {
1055710557 };
1055810558 };
1055910559
10560+ flake8_3 = buildPythonPackage rec {
10561+ name = "flake8-${version}";
10562+ version = "3.0.4";
10563+
10564+ src = pkgs.fetchurl {
10565+ url = "mirror://pypi/f/flake8/${name}.tar.gz";
10566+ sha256 = "03cpdrjxh0fyi2qpdxbbrmxw7whiq3xr3p958gr6yzghk34i1hml";
10567+ };
10568+
10569+ buildInputs = with self; [ nose mock pytestrunner pytest ];
10570+ propagatedBuildInputs = with self; [ pyflakes mccabe enum34 configparser pycodestyle ];
10571+
10572+ patches = [
10573+ ../development/python-modules/flake8/move-pytest-config-to-pytest-ini.patch
10574+ ];
10575+
10576+ # Tests fail due to missing ini file.
10577+ preCheck = ''
10578+ touch tox.ini
10579+ '';
10580+
10581+ meta = {
10582+ description = "Code checking using pep8 and pyflakes";
10583+ homepage = http://pypi.python.org/pypi/flake8;
10584+ license = licenses.mit;
10585+ maintainers = with maintainers; [ ];
10586+ };
10587+ };
10588+
1056010589 flaky = buildPythonPackage rec {
1056110590 name = "flaky-${version}";
1056210591 version = "3.1.0";