blob: bc73fe8848e13f5ada0e14ad5733a34431c8c1ff (
plain) (
blame)
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
|
{
lib,
callPackage,
buildPythonPackage,
fetchPypi,
mkdocs,
jinja2,
python-dateutil,
termcolor,
pyyaml,
}:
buildPythonPackage rec {
pname = "mkdocs-macros-plugin";
version = "1.0.5";
src = fetchPypi {
inherit pname version;
hash = "sha256-/jSNdfAckR82K22ZjFez2FtQWHbd5p25JPLFEsOVwyg=";
};
propagatedBuildInputs = [
jinja2
termcolor
python-dateutil
pyyaml
mkdocs
];
passthru.tests.example-doc = callPackage ./tests.nix { };
pythonImportsCheck = [ "mkdocs_macros" ];
meta = with lib; {
homepage = "https://github.com/fralau/mkdocs_macros_plugin";
description = "Create richer and more beautiful pages in MkDocs, by using variables and calls to macros in the markdown code";
license = licenses.mit;
maintainers = with maintainers; [ tljuniper ];
};
}
|