blob: 750571270679331a157614acc3209b4bbdeb2aa6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
mkdocs,
pandas,
tabulate,
pyyaml,
pytestCheckHook,
openpyxl,
mkdocs-macros-plugin,
}:
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-plugin
];
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 ];
};
}
|