python3.pkgs.rich-tables: init at 0.8.0

This commit is contained in:
Rebecca Turner
2025-08-21 21:34:40 -07:00
parent f7cb3d5cb7
commit 2a1374786a
2 changed files with 68 additions and 0 deletions
@@ -0,0 +1,66 @@
{
lib,
buildPythonPackage,
fetchPypi,
poetry-core,
coloraide,
humanize,
multimethod,
platformdirs,
rich,
sqlparse,
typing-extensions,
rgbxy ? null,
}:
let
version = "0.8.0";
in
buildPythonPackage {
pname = "rich-tables";
inherit version;
pyproject = true;
src = fetchPypi {
pname = "rich_tables";
inherit version;
hash = "sha256-MN8QH6kLyogbcQ0VE9U034cwSFnaFDB2/Rnvy1DYyl4=";
};
build-system = [
poetry-core
];
dependencies = [
coloraide
humanize
multimethod
platformdirs
rich
sqlparse
typing-extensions
];
optional-dependencies = {
hue = [
rgbxy
];
};
pythonRelaxDeps = [
"multimethod"
];
pythonImportsCheck = [
"rich_tables"
];
meta = {
description = "Ready-made rich tables for various purposes";
homepage = "https://pypi.org/project/rich-tables/";
license = lib.licenses.mit;
maintainers = [
lib.maintainers._9999years
];
mainProgram = "table";
};
}
+2
View File
@@ -15827,6 +15827,8 @@ self: super: with self; {
rich-rst = callPackage ../development/python-modules/rich-rst { };
rich-tables = callPackage ../development/python-modules/rich-tables { };
rich-theme-manager = callPackage ../development/python-modules/rich-theme-manager { };
rich-toolkit = callPackage ../development/python-modules/rich-toolkit { };