1{ lib, buildPythonPackage, fetchPypi, six 2, wcwidth, pytest, mock, glibcLocales 3}: 4 5buildPythonPackage rec { 6 pname = "blessed"; 7 version = "1.20.0"; 8 9 src = fetchPypi { 10 inherit pname version; 11 hash = "sha256-LN1n+HRuBI8A30eiiA9NasvNs5kDG2BONLqPcdV4doA="; 12 }; 13 14 nativeCheckInputs = [ pytest mock glibcLocales ]; 15 16 # Default tox.ini parameters not needed 17 checkPhase = '' 18 rm tox.ini 19 pytest 20 ''; 21 22 propagatedBuildInputs = [ wcwidth six ]; 23 24 meta = with lib; { 25 homepage = "https://github.com/jquast/blessed"; 26 description = "A thin, practical wrapper around terminal capabilities in Python."; 27 maintainers = with maintainers; [ eqyiel ]; 28 license = licenses.mit; 29 }; 30}