depot/third_party/nixpkgs/pkgs/development/python-modules/mkdocs-macros/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

44 lines
899 B
Nix

{
lib,
callPackage,
buildPythonPackage,
fetchPypi,
mkdocs,
mkdocs-macros,
mkdocs-material,
jinja2,
python-dateutil,
termcolor,
pyyaml,
runCommand,
setuptools,
}:
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 ];
};
}