blob: 45a5e51eefd2f88eac1212aed8c94aca59af588e (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
mkdocs,
pytestCheckHook,
testfixtures,
pytest-golden,
}:
buildPythonPackage rec {
pname = "mkdocs-literate-nav";
version = "0.6.2";
pyproject = true;
src = fetchFromGitHub {
owner = "oprypin";
repo = "mkdocs-literate-nav";
tag = "v${version}";
hash = "sha256-WP8VqiD/Kqswh1TWhSBsNfxn3gxKlRlg6RvGayAdQto=";
};
build-system = [
hatchling
];
dependencies = [
mkdocs
];
pythonImportsCheck = [
"mkdocs_literate_nav"
];
nativeCheckInputs = [
pytestCheckHook
testfixtures
pytest-golden
];
meta = {
description = "MkDocs plugin to specify the navigation in Markdown instead of YAML";
homepage = "https://github.com/oprypin/mkdocs-literate-nav";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ drupol ];
};
}
|