diff --git a/pkgs/development/python-modules/inquirer3/default.nix b/pkgs/development/python-modules/inquirer3/default.nix new file mode 100644 index 000000000000..949c7513141c --- /dev/null +++ b/pkgs/development/python-modules/inquirer3/default.nix @@ -0,0 +1,47 @@ +{ + blessed, + buildPythonPackage, + editor, + fetchFromGitHub, + lib, + pexpect, + poetry-core, + pytestCheckHook, + readchar, +}: + +buildPythonPackage rec { + pname = "inquirer3"; + version = "0.6.1"; + pyproject = true; + + src = fetchFromGitHub { + owner = "guysalt"; + repo = "python-inquirer3"; + tag = "v${version}"; + hash = "sha256-IReJlwVgjTlTlD0xTVWrzQ0ITvCQvPJ86zCmffaoPk4="; + }; + + build-system = [ poetry-core ]; + + dependencies = [ + blessed + editor + readchar + ]; + + pythonImportsCheck = [ "inquirer3" ]; + + nativeCheckInputs = [ + pexpect + pytestCheckHook + ]; + + meta = { + changelog = "https://github.com/guysalt/python-inquirer3/releases/tag/${src.tag}"; + description = "Collection of common interactive command line user interfaces, based on Inquirer.js"; + homepage = "https://github.com/guysalt/python-inquirer3"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.dotlambda ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 180e30bd3a19..71c3607f35f4 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7151,6 +7151,8 @@ self: super: with self; { inquirer = callPackage ../development/python-modules/inquirer { }; + inquirer3 = callPackage ../development/python-modules/inquirer3 { }; + inquirerpy = callPackage ../development/python-modules/inquirerpy { }; inscriptis = callPackage ../development/python-modules/inscriptis { };