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