about summary refs log tree commit diff
path: root/web/volgasprint/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2024-02-28T20·06+0300
committerclbot <clbot@tvl.fyi>2024-02-28T20·30+0000
commitf3412a9e32d2fa42cc2b6407dc1b2fad66f07794 (patch)
tree2d60880cfcbd11e14de56566694b45a3918d91b3 /web/volgasprint/default.nix
parenta412791752805a1c3226f5b8008ecf16f2be2bfb (diff)
feat(web/volgasprint): initiate website for Volga Sprint 2024 r/7621
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
Diffstat (limited to 'web/volgasprint/default.nix')
-rw-r--r--web/volgasprint/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/web/volgasprint/default.nix b/web/volgasprint/default.nix
new file mode 100644
index 000000000000..5f49d88e2631
--- /dev/null
+++ b/web/volgasprint/default.nix
@@ -0,0 +1,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
+  ''