python312Packages.questionary: refactor
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user