1{
2 lib,
3 python3Packages,
4 fetchPypi,
5 pytestCheckHook,
6 pythonOlder,
7 poetry-core,
8 colorama,
9 tabulate,
10 unidecode,
11}:
12python3Packages.buildPythonPackage rec {
13 pname = "cli-ui";
14 version = "0.17.2";
15 pyproject = true;
16
17 disabled = pythonOlder "3.8.1";
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-L2flDPR052rRYMPmYLutmL+LjfuNhHdl86Jht+E8Bfo=";
22 };
23
24 pythonRelaxDeps = [ "tabulate" ];
25
26
27 build-system = [ poetry-core ];
28
29 dependencies = [
30 colorama
31 tabulate
32 unidecode
33 ];
34
35 nativeCheckInputs = [ pytestCheckHook ];
36
37 pythonImportsCheck = [ "cli_ui" ];
38
39 meta = with lib; {
40 description = "Build Nice User Interfaces In The Terminal";
41 homepage = "https://github.com/your-tools/python-cli-ui";
42 license = licenses.bsd3;
43 maintainers = with maintainers; [ slashformotion ];
44 };
45}