1{ lib 2, callPackage 3, buildPythonPackage 4, fetchPypi 5, mkdocs 6, mkdocs-macros 7, mkdocs-material 8, jinja2 9, python-dateutil 10, termcolor 11, pyyaml 12, runCommand 13, setuptools 14}: 15 16buildPythonPackage rec { 17 pname = "mkdocs-macros-plugin"; 18 version = "0.7.0"; 19 20 src = fetchPypi { 21 inherit pname version; 22 sha256 = "sha256:0206cm0153vzp10c8a15bi2znisq5pv59zi9vrcm74pnpk5f2r4y"; 23 }; 24 25 propagatedBuildInputs = [ 26 jinja2 27 termcolor 28 python-dateutil 29 pyyaml 30 mkdocs 31 ]; 32 33 passthru.tests.example-doc = callPackage ./tests.nix { }; 34 35 pythonImportsCheck = [ "mkdocs_macros" ]; 36 37 meta = with lib; { 38 homepage = "https://github.com/fralau/mkdocs_macros_plugin"; 39 description = "Create richer and more beautiful pages in MkDocs, by using variables and calls to macros in the markdown code."; 40 license = licenses.mit; 41 maintainers = with maintainers; [ tljuniper ]; 42 }; 43}