python312Packages.questionary: refactor

This commit is contained in:
Fabian Affolter
2025-01-11 15:07:08 +01:00
parent 925f8eb7a3
commit 92ca1c505b
@@ -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 ];
};
}