aboutsummaryrefslogtreecommitdiffstats
path: root/templates/unmaintained/nannou
diff options
context:
space:
mode:
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
+ ]);
+}