depot/third_party/nixpkgs/pkgs/development/python-modules/cli-ui/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

45 lines
834 B
Nix

{
lib,
fetchPypi,
pytestCheckHook,
pythonOlder,
poetry-core,
colorama,
tabulate,
unidecode,
buildPythonPackage,
}:
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" ];
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 ];
};
}