python.pkgs.wcwidth: run tests
This commit is contained in:
parent
8de375bf7b
commit
3b698b537c
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchPypi, buildPythonPackage }:
|
{ lib, fetchPypi, buildPythonPackage, pytest }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "wcwidth";
|
pname = "wcwidth";
|
||||||
|
@ -9,8 +9,11 @@ buildPythonPackage rec {
|
||||||
sha256 = "0pn6dflzm609m4r3i8ik5ni9ijjbb5fa3vg1n7hn6vkd49r77wrx";
|
sha256 = "0pn6dflzm609m4r3i8ik5ni9ijjbb5fa3vg1n7hn6vkd49r77wrx";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Checks fail due to missing tox.ini file:
|
checkInputs = [ pytest ];
|
||||||
doCheck = false;
|
|
||||||
|
checkPhase = ''
|
||||||
|
pytest
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Measures number of Terminal column cells of wide-character codes";
|
description = "Measures number of Terminal column cells of wide-character codes";
|
||||||
|
|
Loading…
Reference in New Issue