Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 49 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, fetchFromGitHub, pfzy, poetry-core, prompt-toolkit, pytestCheckHook,}:
buildPythonPackage rec { pname = "inquirerpy"; version = "0.3.4"; pyproject = true;
src = fetchFromGitHub { owner = "kazhala"; repo = "InquirerPy"; tag = version; hash = "sha256-Ap0xZHEU458tjm6oEN5EtDoSRlnpZ7jvDq1L7fTlQQc="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ pfzy prompt-toolkit ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "InquirerPy" ];
disabledTestPaths = [ # AttributeError: '_GeneratorContextManager' object has no attribute 'close' "tests/prompts/" "tests/base/test_simple.py" "tests/base/test_complex.py" "tests/base/test_list.py" ];
meta = { description = "Python port of Inquirer.js"; homepage = "https://github.com/kazhala/InquirerPy"; changelog = "https://github.com/kazhala/InquirerPy/blob/${version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; };}