bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
47 lines
917 B
Nix
47 lines
917 B
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchPypi,
|
|
pytestCheckHook,
|
|
pythonRelaxDepsHook,
|
|
pythonOlder,
|
|
poetry-core,
|
|
colorama,
|
|
tabulate,
|
|
unidecode,
|
|
}:
|
|
python3Packages.buildPythonPackage rec {
|
|
pname = "cli-ui";
|
|
version = "0.17.2";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-L2flDPR052rRYMPmYLutmL+LjfuNhHdl86Jht+E8Bfo=";
|
|
};
|
|
|
|
pythonRelaxDeps = [ "tabulate" ];
|
|
|
|
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
dependencies = [
|
|
colorama
|
|
tabulate
|
|
unidecode
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "cli_ui" ];
|
|
|
|
meta = with lib; {
|
|
description = "Build Nice User Interfaces In The Terminal";
|
|
homepage = "https://github.com/your-tools/python-cli-ui";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ slashformotion ];
|
|
};
|
|
}
|