Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at r-updates 41 lines 860 B view raw
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 format = "setuptools"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-/jSNdfAckR82K22ZjFez2FtQWHbd5p25JPLFEsOVwyg="; 21 }; 22 23 propagatedBuildInputs = [ 24 jinja2 25 termcolor 26 python-dateutil 27 pyyaml 28 mkdocs 29 ]; 30 31 passthru.tests.example-doc = callPackage ./tests.nix { }; 32 33 pythonImportsCheck = [ "mkdocs_macros" ]; 34 35 meta = with lib; { 36 homepage = "https://github.com/fralau/mkdocs_macros_plugin"; 37 description = "Create richer and more beautiful pages in MkDocs, by using variables and calls to macros in the markdown code"; 38 license = licenses.mit; 39 maintainers = with maintainers; [ tljuniper ]; 40 }; 41}