about summary refs log blame commit diff
path: root/web/volgasprint/default.nix
blob: 5f49d88e2631b1f6b10a06e697681c92f15c12f2 (plain) (tree)






















                                                       
{ pkgs, ... }:

let
  pythonEnv = pkgs.python3.withPackages (ps: with ps; [
    mkdocs
    mkdocs-material
    pillow
    cairosvg
  ]);
in
pkgs.runCommand "website"
{
  buildInputs = [
    pythonEnv
  ];
}
  ''
    cp -r ${./.} ./source
    chmod -R +w ./source
    cd ./source
    mkdocs build
    mv site $out
  ''