From ad99006e47cde282a14d387c59b65db073830a88 Mon Sep 17 00:00:00 2001 From: Martin Bornhold Date: Fri, 30 Sep 2016 13:30:55 +0200 Subject: [PATCH] pythonPackages.mccabe_0_5: init 0.5.2 Signed-off-by: Alexander Ried --- pkgs/top-level/python-packages.nix | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 09f93953a8c5..079a8e1bcb98 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -10567,7 +10567,7 @@ in modules // { }; buildInputs = with self; [ nose mock pytestrunner pytest ]; - propagatedBuildInputs = with self; [ pyflakes mccabe enum34 configparser pycodestyle ]; + propagatedBuildInputs = with self; [ pyflakes mccabe_0_5 enum34 configparser pycodestyle ]; patches = [ ../development/python-modules/flake8/move-pytest-config-to-pytest-ini.patch @@ -13498,6 +13498,23 @@ in modules // { }; }); + mccabe_0_5 = buildPythonPackage (rec { + name = "mccabe-0.5.2"; + + src = pkgs.fetchurl { + url = "mirror://pypi/m/mccabe/${name}.tar.gz"; + sha256 = "1zss8c5cn8wvxsbjzv70dxymybh3cjzrjl19vxfbnyvmidng0wrl"; + }; + + buildInputs = with self; [ pytestrunner pytest ]; + + meta = { + description = "McCabe checker, plugin for flake8"; + homepage = "https://github.com/flintwork/mccabe"; + license = licenses.mit; + maintainers = with maintainers; [ ]; + }; + }); mechanize = buildPythonPackage (rec { name = "mechanize-0.2.5";