at master 897 B view raw
1{ 2 lib, 3 fetchFromGitHub, 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.19.0"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.8.1"; 18 19 src = fetchFromGitHub { 20 owner = "your-tools"; 21 repo = "python-cli-ui"; 22 tag = "v${version}"; 23 hash = "sha256-BLc55LkVQwZ18V/fD/lBYw6jgchE8n0ijDTSr8/Jkdk="; 24 }; 25 26 pythonRelaxDeps = [ "tabulate" ]; 27 28 build-system = [ poetry-core ]; 29 30 dependencies = [ 31 colorama 32 tabulate 33 unidecode 34 ]; 35 36 nativeCheckInputs = [ pytestCheckHook ]; 37 38 pythonImportsCheck = [ "cli_ui" ]; 39 40 meta = with lib; { 41 description = "Build Nice User Interfaces In The Terminal"; 42 homepage = "https://github.com/your-tools/python-cli-ui"; 43 license = licenses.bsd3; 44 maintainers = with maintainers; [ slashformotion ]; 45 }; 46}