1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4 5# native 6, poetry-core 7 8# propagated 9, blessed 10, python-editor 11, readchar 12 13# tests 14, pytest-mock 15, pytestCheckHook 16, pexpect 17}: 18 19buildPythonPackage rec { 20 pname = "inquirer"; 21 version = "2.9.2"; 22 format = "pyproject"; 23 24 src = fetchFromGitHub rec { 25 owner = "magmax"; 26 repo = "python-inquirer"; 27 rev = "v${version}"; 28 sha256 = "sha256-TQEZeZDl4N78dE7CXy5OwquUoHuxxjmDAC3wdxqydaQ="; 29 }; 30 31 nativeBuildInputs = [ 32 poetry-core 33 ]; 34 35 propagatedBuildInputs = [ 36 blessed 37 python-editor 38 readchar 39 ]; 40 41 checkInputs = [ 42 pexpect 43 pytest-mock 44 pytestCheckHook 45 ]; 46 47 meta = with lib; { 48 homepage = "https://github.com/magmax/python-inquirer"; 49 description = "A collection of common interactive command line user interfaces, based on Inquirer.js"; 50 license = licenses.mit; 51 maintainers = [ maintainers.mmahut ]; 52 }; 53}