flake8: 2.5.4 -> 3.0.4

This commit is contained in:
Martin Bornhold 2016-09-30 13:31:30 +02:00
parent 532869cee2
commit 7026cdf9e9

View File

@ -10510,15 +10510,24 @@ in modules // {
flake8 = buildPythonPackage rec {
name = "flake8-${version}";
version = "2.5.4";
version = "3.0.4";
src = pkgs.fetchurl {
url = "mirror://pypi/f/flake8/${name}.tar.gz";
sha256 = "0bs9cz4fr99r2rwig1b8jwaadl1nan7kgpdzqwj0bwbckwbmh7nc";
sha256 = "03cpdrjxh0fyi2qpdxbbrmxw7whiq3xr3p958gr6yzghk34i1hml";
};
buildInputs = with self; [ nose mock ];
propagatedBuildInputs = with self; [ pyflakes pep8 mccabe ];
propagatedBuildInputs = with self; [ pyflakes pep8 mccabe enum34 configparser pycodestyle ];
patches = [
../development/python-modules/flake8/move-pytest-config-to-pytest-ini.patch
];
# Tests fail due to missing ini file.
preCheck = ''
touch tox.ini
'';
meta = {
description = "Code checking using pep8 and pyflakes";