From 925f8eb7a31987106b38c0193e1d1f49811424e4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 31 Dec 2024 12:58:06 +0100 Subject: [PATCH 1/2] python312Packages.questionary: 2.0.1 -> 2.1.0 Diff: https://github.com/tmbo/questionary/compare/refs/tags/2.0.1...2.1.0 Changelog: https://github.com/tmbo/questionary/blob/refs/tags/2.1.0/docs/pages/changelog.rst --- pkgs/development/python-modules/questionary/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/questionary/default.nix b/pkgs/development/python-modules/questionary/default.nix index e2e5d6495794..3fee52df74e0 100644 --- a/pkgs/development/python-modules/questionary/default.nix +++ b/pkgs/development/python-modules/questionary/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "questionary"; - version = "2.0.1"; + version = "2.1.0"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "tmbo"; repo = pname; tag = version; - hash = "sha256-JY0kXomgiGtOrsXfRf0756dTPVgud91teh+jW+kFNdk="; + hash = "sha256-HiQsOkG3oK+hnyeFjebnVASxpZhUPGBGz69JvPO43fM="; }; nativeBuildInputs = [ From 92ca1c505ba7baa11f236fb3ae220d26dfa988f3 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 31 Dec 2024 13:02:44 +0100 Subject: [PATCH 2/2] python312Packages.questionary: refactor --- .../python-modules/questionary/default.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/questionary/default.nix b/pkgs/development/python-modules/questionary/default.nix index 3fee52df74e0..0d8ab699377a 100644 --- a/pkgs/development/python-modules/questionary/default.nix +++ b/pkgs/development/python-modules/questionary/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "questionary"; version = "2.1.0"; - format = "pyproject"; + pyproject = true; disabled = pythonOlder "3.8"; @@ -23,13 +23,11 @@ buildPythonPackage rec { 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 ]; }; }