pythonPackages.click: run correct test runner

This commit is contained in:
Frederik Rietdijk 2016-01-23 16:51:25 +01:00
parent cb69ea969b
commit 30623449cf

View file

@ -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";