From 30623449cf8dd6b168f06c81f8c08e5e6c908954 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sat, 23 Jan 2016 16:51:25 +0100 Subject: [PATCH] pythonPackages.click: run correct test runner --- pkgs/top-level/python-packages.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 72e9cc2fa50..ef5431d43b0 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2824,6 +2824,15 @@ in modules // { sha256 = "10kavbisnk9m93jl2wi34pw7ryr2qbxshh2cysxwxd7bymqgz87v"; }; + buildInputs = with self; [ pytest ]; + + checkPhase = '' + py.test tests + ''; + + # Python 3.5 str/bytes-like errors with reading files + doCheck = !isPy3k; + meta = { homepage = http://click.pocoo.org/; description = "Create beautiful command line interfaces in Python";