with import <nixpkgs> {};

mkShell {
  venvDir = ".venv";
  buildInputs = [
    pandoc
    (python311.withPackages
      (p: with p; [ mkdocs weasyprint ])).pkgs.venvShellHook
  ];
  postShellHook = ''
    pip install mkdocs-with-pdf
  '';
}
