1{
2 lib,
3 fetchPypi,
4 pytestCheckHook,
5 pythonOlder,
6 poetry-core,
7 colorama,
8 tabulate,
9 unidecode,
10 buildPythonPackage,
11}:
12buildPythonPackage 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 build-system = [ poetry-core ];
27
28 dependencies = [
29 colorama
30 tabulate
31 unidecode
32 ];
33
34 nativeCheckInputs = [ pytestCheckHook ];
35
36 pythonImportsCheck = [ "cli_ui" ];
37
38 meta = with lib; {
39 description = "Build Nice User Interfaces In The Terminal";
40 homepage = "https://github.com/your-tools/python-cli-ui";
41 license = licenses.bsd3;
42 maintainers = with maintainers; [ slashformotion ];
43 };
44}