tvl-depot/web/volgasprint/default.nix
Vincent Ambo f3412a9e32 feat(web/volgasprint): initiate website for Volga Sprint 2024
Based on the template used by Ocean Sprint and Thaiger Sprint,
initialise the website for the 2024 Nix sprint in Kazan.

This will be published on volgasprint.org, but it's not wired up yet.

Change-Id: I3485084a62a6ea60a90a42b501879092a360612c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11065
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: Mark Shevchenko <markshevchenko@gmail.com>
Tested-by: BuildkiteCI
2024-02-28 20:30:41 +00:00

23 lines
318 B
Nix

{ 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
''