1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pygments 5, six 6, wcwidth 7, pytestCheckHook 8, pyte 9, ptyprocess 10, pexpect 11}: 12 13buildPythonPackage rec { 14 pname = "lineedit"; 15 version = "0.1.6"; 16 17 src = fetchFromGitHub { 18 owner = "randy3k"; 19 repo = pname; 20 rev = "v${version}"; 21 sha256 = "fq2NpjIQkIq1yzXEUxi6cz80kutVqcH6MqJXHtpTFsk="; 22 }; 23 24 propagatedBuildInputs = [ 25 pygments 26 six 27 wcwidth 28 ]; 29 30 nativeCheckInputs = [ 31 pytestCheckHook 32 pyte 33 pexpect 34 ptyprocess 35 ]; 36 37 pythonImportsCheck = [ "lineedit" ]; 38 39 meta = with lib; { 40 description = "A readline library based on prompt_toolkit which supports multiple modes"; 41 homepage = "https://github.com/randy3k/lineedit"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ savyajha ]; 44 }; 45}