diff --git a/pkgs/development/python-modules/questionary/default.nix b/pkgs/development/python-modules/questionary/default.nix index e2e5d6495794..0d8ab699377a 100644 --- a/pkgs/development/python-modules/questionary/default.nix +++ b/pkgs/development/python-modules/questionary/default.nix @@ -11,8 +11,8 @@ buildPythonPackage rec { pname = "questionary"; - version = "2.0.1"; - format = "pyproject"; + version = "2.1.0"; + pyproject = true; disabled = pythonOlder "3.8"; @@ -20,16 +20,14 @@ buildPythonPackage rec { owner = "tmbo"; repo = pname; tag = version; - hash = "sha256-JY0kXomgiGtOrsXfRf0756dTPVgud91teh+jW+kFNdk="; + hash = "sha256-HiQsOkG3oK+hnyeFjebnVASxpZhUPGBGz69JvPO43fM="; }; - nativeBuildInputs = [ - poetry-core - ]; - pythonRelaxDeps = [ "prompt_toolkit" ]; - propagatedBuildInputs = [ prompt-toolkit ]; + build-system = [ poetry-core ]; + + dependencies = [ prompt-toolkit ]; nativeCheckInputs = [ pytestCheckHook ]; @@ -48,7 +46,7 @@ buildPythonPackage rec { description = "Python library to build command line user prompts"; homepage = "https://github.com/tmbo/questionary"; changelog = "https://github.com/tmbo/questionary/blob/${src.rev}/docs/pages/changelog.rst"; - license = with licenses; [ mit ]; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }