python.pkgs.wcwidth: run tests

This commit is contained in:
Robert Schütz 2019-02-02 16:15:32 +01:00
parent 8de375bf7b
commit 3b698b537c

View file

@ -1,4 +1,4 @@
{ lib, fetchPypi, buildPythonPackage }:
{ lib, fetchPypi, buildPythonPackage, pytest }:
buildPythonPackage rec {
pname = "wcwidth";
@ -9,8 +9,11 @@ buildPythonPackage rec {
sha256 = "0pn6dflzm609m4r3i8ik5ni9ijjbb5fa3vg1n7hn6vkd49r77wrx";
};
# Checks fail due to missing tox.ini file:
doCheck = false;
checkInputs = [ pytest ];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "Measures number of Terminal column cells of wide-character codes";