blob: ac28f55038d06d9e529f459f52466349bc4234d4 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
mkdocs,
pytestCheckHook,
pytest-golden,
}:
buildPythonPackage rec {
pname = "mkdocs-gen-files";
version = "0.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "oprypin";
repo = "mkdocs-gen-files";
tag = "v${version}";
hash = "sha256-9mOLRZZugaGCWR/Ms9z8CTvDp8QgAiGcKqiB/LGTApk=";
};
build-system = [
hatchling
];
dependencies = [
mkdocs
];
nativeCheckInputs = [
pytestCheckHook
pytest-golden
];
pythonImportsCheck = [
"mkdocs_gen_files"
];
meta = {
description = "MkDocs plugin to programmatically generate documentation pages during the build";
homepage = "https://oprypin.github.io/mkdocs-gen-files/";
changelog = "https://github.com/oprypin/mkdocs-gen-files/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ erooke ];
};
}
|