blob: 89334729b8500a559389f1440ed364897118c701 (
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
61
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
httpx,
markdown,
mkdocs,
msgpack,
rich,
pytestCheckHook,
pytest-httpx,
}:
buildPythonPackage rec {
pname = "mkdocs-puml";
version = "2.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "MikhailKravets";
repo = "mkdocs_puml";
tag = "v${version}";
hash = "sha256-DOGS2lnFIpFdpJxIw9PJ/kvtAOhVtAJOQeMR+CVjkE0=";
};
patches = [
# Fix permission of copied files from the store so that they are
# overwritable.
./fix-permissions.patch
];
build-system = [ poetry-core ];
pythonRelaxDeps = [
"httpx"
"rich"
];
dependencies = [
httpx
markdown
mkdocs
msgpack
rich
];
pythonImportsCheck = [ "mkdocs_puml" ];
nativeCheckInputs = [
pytestCheckHook
pytest-httpx
];
meta = {
description = "Brings PlantUML to MkDocs";
homepage = "https://github.com/MikhailKravets/mkdocs_puml";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|