python311Packages.inquirerpy: refactor

This commit is contained in:
Fabian Affolter 2024-01-14 18:01:01 +01:00
parent 503ee50f70
commit 6f98d8fdc7

View file

@ -1,23 +1,19 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, furo
, myst-parser
, pfzy
, poetry-core
, prompt-toolkit
, pytestCheckHook
, pythonOlder
, sphinx
, sphinx-autobuild
, sphinx-copybutton
}:
buildPythonPackage rec {
pname = "inquirerpy";
version = "0.3.4";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "kazhala";
@ -51,11 +47,10 @@ buildPythonPackage rec {
"tests/base/test_list.py"
];
meta = with lib; {
description = "Python port of Inquirer.js";
homepage = "https://github.com/kazhala/InquirerPy";
changelog = "https://github.com/kazhala/InquirerPy/blob/${src.rev}/CHANGELOG.md";
changelog = "https://github.com/kazhala/InquirerPy/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};