python-flake8: 3.2.1 -> 3.3.0

This commit is contained in:
Daiderd Jordan 2017-05-11 22:50:32 +02:00
parent af14949b08
commit 4005d8a26d
No known key found for this signature in database
GPG key ID: D02435D05B810C96
2 changed files with 28 additions and 21 deletions

View file

@ -0,0 +1,27 @@
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
, mock, pytest, pytestrunner
, configparser, enum34, mccabe, pycodestyle, pyflakes
}:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "flake8";
version = "3.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "04izn1q1lgbr408l9b3vkxqmpi6mq47bxwc0iwypb02mrxns41xr";
};
buildInputs = [ pytest mock pytestrunner ];
propagatedBuildInputs = [ pyflakes pycodestyle mccabe ]
++ stdenv.lib.optionals (pythonOlder "3.4") [ enum34 ]
++ stdenv.lib.optionals (pythonOlder "3.2") [ configparser ];
meta = with stdenv.lib; {
description = "Code checking using pep8 and pyflakes";
homepage = http://pypi.python.org/pypi/flake8;
license = licenses.mit;
maintainers = with maintainers; [ garbas ];
};
}

View file

@ -11081,27 +11081,7 @@ in {
};
};
flake8 = buildPythonPackage rec {
name = "flake8-${version}";
version = "3.2.1";
src = pkgs.fetchurl {
url = "mirror://pypi/f/flake8/${name}.tar.gz";
sha256 = "c7c460b5aff3a2063c798a77af18ec70af3941d35a22e2e76965e3c0e0b36055";
};
buildInputs = with self; [ pytest mock pytestrunner ];
propagatedBuildInputs = with self; [ pyflakes pycodestyle mccabe ]
++ optionals (pythonOlder "3.4") [ enum34 ]
++ optionals (pythonOlder "3.2") [ configparser ];
meta = {
description = "Code checking using pep8 and pyflakes";
homepage = http://pypi.python.org/pypi/flake8;
license = licenses.mit;
maintainers = with maintainers; [ garbas ];
};
};
flake8 = callPackage ../development/python-modules/flake8 { };
flake8-blind-except = callPackage ../development/python-modules/flake8-blind-except { };