2026-02-07 08:49:24 +01:00
|
|
|
{ inputs, pkgs, ... }:
|
2022-11-30 16:15:03 +01:00
|
|
|
|
2026-02-07 08:49:24 +01:00
|
|
|
let
|
|
|
|
|
pkgs-cmake3 = import inputs.nixpkgs-cmake3 { system = pkgs.stdenv.system; };
|
|
|
|
|
in
|
2022-11-30 16:15:03 +01:00
|
|
|
{
|
2025-01-04 19:32:51 +01:00
|
|
|
packages = [
|
2026-03-25 20:16:46 +01:00
|
|
|
# for Leptos
|
|
|
|
|
pkgs.trunk
|
2026-04-05 18:09:02 +02:00
|
|
|
pkgs.lld
|
2026-03-25 20:16:46 +01:00
|
|
|
# pkgs.wasm-bindgen-cli_0_2_114
|
2026-04-22 17:42:05 +02:00
|
|
|
pkgs.binaryen # for wasm-opt
|
2025-02-08 08:52:01 +01:00
|
|
|
|
2025-06-22 18:34:36 +02:00
|
|
|
# pour burn-rs
|
|
|
|
|
pkgs.SDL2_gfx
|
|
|
|
|
# (compilation sdl2-sys)
|
2026-02-07 08:49:24 +01:00
|
|
|
pkgs-cmake3.cmake
|
|
|
|
|
pkgs.libxcb
|
2025-06-22 16:54:10 +02:00
|
|
|
pkgs.libffi
|
|
|
|
|
pkgs.wayland-scanner
|
|
|
|
|
|
2025-02-08 08:52:01 +01:00
|
|
|
# dev tools
|
|
|
|
|
pkgs.samply # code profiler
|
2025-08-03 16:11:45 +02:00
|
|
|
pkgs.feedgnuplot # to visualize bots training results
|
2025-02-08 08:52:01 +01:00
|
|
|
|
2023-10-29 20:48:53 +01:00
|
|
|
];
|
2022-11-30 16:15:03 +01:00
|
|
|
|
|
|
|
|
# https://devenv.sh/languages/
|
|
|
|
|
languages.rust.enable = true;
|
|
|
|
|
|
|
|
|
|
# https://devenv.sh/scripts/
|
|
|
|
|
# scripts.hello.exec = "echo hello from $GREET";
|
|
|
|
|
|
|
|
|
|
# https://devenv.sh/pre-commit-hooks/
|
2025-01-04 19:32:51 +01:00
|
|
|
# pre-commit.hooks.shellcheck.enable = true;
|
2022-11-30 16:15:03 +01:00
|
|
|
|
|
|
|
|
# https://devenv.sh/processes/
|
|
|
|
|
# processes.ping.exec = "ping example.com";
|
|
|
|
|
}
|