1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 urwid, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "urwid-readline"; 12 version = "0.15.1"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "rr-"; 17 repo = "urwid_readline"; 18 tag = version; 19 hash = "sha256-HiMMLzVE/Qw/PR7LXACyfzblxrGYrbMoi3/e/QzqF34="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ urwid ]; 25 26 pythonImportsCheck = [ "urwid_readline" ]; 27 28 nativeCheckInputs = [ pytestCheckHook ]; 29 30 meta = with lib; { 31 description = "Textbox edit widget for urwid that supports readline shortcuts"; 32 homepage = "https://github.com/rr-/urwid_readline"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ dotlambda ]; 35 }; 36}