python3Packages: init mkdocs-table-reader-plugin at 3.1.0 (#439002)

This commit is contained in:
Sandro
2025-09-02 13:41:14 +02:00
committed by GitHub
2 changed files with 64 additions and 0 deletions
@@ -0,0 +1,60 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
mkdocs,
pandas,
tabulate,
pyyaml,
pytestCheckHook,
openpyxl,
mkdocs-macros,
}:
buildPythonPackage rec {
pname = "mkdocs-table-reader-plugin";
version = "3.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "timvink";
repo = "mkdocs-table-reader-plugin";
tag = "v${version}";
hash = "sha256-XyMz0CeLQderzzz/Z3H6rja619wPzx42X3jz30wt6a8=";
};
build-system = [
setuptools
];
dependencies = [
mkdocs
pandas
tabulate
pyyaml
];
nativeCheckInputs = [
pytestCheckHook
openpyxl
mkdocs-macros
];
pythonImportsCheck = [
"mkdocs_table_reader_plugin"
];
disabledTests = [
# fails with non zero exit code without printing stdout/stderr of `mkdocs build` -> cause unknown
"test_compatibility_markdownextradata"
"test_macros_jinja2_syntax"
];
meta = {
description = "MkDocs plugin that enables a markdown tag like {{ read_csv('table.csv') }} to directly insert various table formats into a page";
homepage = "https://github.com/timvink/mkdocs-table-reader-plugin";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ marcel ];
};
}
+4
View File
@@ -9412,6 +9412,10 @@ self: super: with self; {
mkdocs-swagger-ui-tag = callPackage ../development/python-modules/mkdocs-swagger-ui-tag { };
mkdocs-table-reader-plugin =
callPackage ../development/python-modules/mkdocs-table-reader-plugin
{ };
mkdocstrings = callPackage ../development/python-modules/mkdocstrings { };
mkdocstrings-python = callPackage ../development/python-modules/mkdocstrings-python { };