about summary refs log tree commit diff
path: root/web/volgasprint/default.nix
blob: 5f49d88e2631b1f6b10a06e697681c92f15c12f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ 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
  ''