blob: 325c85a67c292a2b4572e703e824bd0410741bd1 (
about) (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
mdformat,
poetry-core,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "mdformat-toc";
version = "0.3.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "hukkin";
repo = pname;
tag = version;
hash = "sha256-3EX6kGez408tEYiR9VSvi3GTrb4ds+HJwpFflv77nkg=";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ mdformat ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "mdformat_toc" ];
meta = with lib; {
description = "Mdformat plugin to generate a table of contents";
homepage = "https://github.com/hukkin/mdformat-toc";
license = licenses.mit;
maintainers = with maintainers; [
aldoborrero
polarmutex
];
broken = true; # broken test due to changes in mdformat; compare https://github.com/KyleKing/mdformat-admon/issues/25
};
}
|