From 810e02e945192881fcec02e803e7072807b3fc77 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sun, 18 Dec 2016 00:16:10 +0100 Subject: [PATCH] pythonPackages.pytestpep8: fix checkPhase --- pkgs/top-level/python-packages.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index dc9cafa3cb05..b1195277b727 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5058,6 +5058,13 @@ in { buildInputs = with self; [ pytest ]; propagatedBuildInputs = with self; [ pytestcache pep8 ]; + checkPhase = '' + py.test + ''; + + # Fails + doCheck = false; + meta = { license = licenses.mit; website = "https://pypi.python.org/pypi/pytest-pep8";