10 buildPythonPackage rec {
15 disabled = pythonOlder "3.7";
18 inherit pname version;
19 hash = "sha256-cuoMBjmesobZeP3ttpI6nrR+HEhs5j6bTmT8GDA5crU=";
22 nativeBuildInputs = [ setuptools ];
24 nativeCheckInputs = [ pytestCheckHook ];
26 # To prevent infinite recursion with pytest
29 pythonImportsCheck = [ "wcwidth" ];
32 description = "Measures number of Terminal column cells of wide-character codes";
34 This API is mainly for Terminal Emulator implementors -- any Python
35 program that attempts to determine the printable width of a string on
36 a Terminal. It is implemented in python (no C library calls) and has
37 no 3rd-party dependencies.
39 homepage = "https://github.com/jquast/wcwidth";
40 changelog = "https://github.com/jquast/wcwidth/releases/tag/${version}";
41 license = licenses.mit;