about summary refs log tree commit diff stats
path: root/templates/unmaintained/nannou
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-03-31 23:40:32 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-04-01 00:00:04 +0200
commit6df2ef639806567bf7ef9b3b50bef08b9cfb7e3a (patch)
tree60b33e862c20f8aff56949d40b197aec71eedb91 /templates/unmaintained/nannou
parentfeat(shell): Update to my new SOTA (diff)
downloadflake-templates-6df2ef639806567bf7ef9b3b50bef08b9cfb7e3a.tar.gz
flake-templates-6df2ef639806567bf7ef9b3b50bef08b9cfb7e3a.zip
refactor({python,markdown}): Also move them to the templates diretory
Diffstat (limited to 'templates/unmaintained/nannou')
-rw-r--r--templates/unmaintained/nannou/shell.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/unmaintained/nannou/shell.nix b/templates/unmaintained/nannou/shell.nix
new file mode 100644
index 0000000..6c4550a
--- /dev/null
+++ b/templates/unmaintained/nannou/shell.nix
@@ -0,0 +1,25 @@
+#  A Creative Coding Framework for Rust.
+{
+  pkgs ? import <nixpkgs> {},
+  extraPkgs ? [],
+}:
+pkgs.mkShell {
+  buildInputs = with pkgs;
+    [
+      cargo
+      rustc
+      pkg-config
+      alsa-lib
+      cmake
+      openssl
+      xorg.libxcb
+    ]
+    ++ extraPkgs;
+  LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath (with pkgs; [
+    xorg.libX11
+    xorg.libXcursor
+    xorg.libXrandr
+    xorg.libXi
+    vulkan-loader
+  ]);
+}