depot/third_party/nixpkgs/pkgs/development/python-modules/mkdocs-macros/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

40 lines
835 B
Nix

{
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 ];
};
}