{ lib, buildPythonPackage, fetchFromGitHub, # build-system poetry-core, # dependencies python-yakh, rich, # nativeCheckInputs pytestCheckHook, }: buildPythonPackage rec { pname = "questo"; version = "0.4.2"; pyproject = true; src = fetchFromGitHub { owner = "petereon"; repo = "questo"; rev = "v${version}"; hash = "sha256-1T8HRgIW9P5iX1a75Bn9XqiVMCPtL7tdQTpixPbTbv0="; }; build-system = [ poetry-core ]; dependencies = [ python-yakh rich ]; pythonImportsCheck = [ "questo" ]; nativeCheckInputs = [ pytestCheckHook ]; meta = { description = "Library of extensible and modular CLI prompt elements"; homepage = "https://github.com/petereon/questo"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ doronbehar ]; }; }