{ description = "Arduino"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; config.allowUnfree = true; }; in { devShell = with pkgs; mkShell rec { buildInputs = [ arduino-ide arduino-cli # arduino-language-server # (vscode-with-extensions.override { # vscode = vscodium; # vscodeExtensions = with vscode-extensions; [ # ms-vscode.cpptools # ] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [ # { # name = "vscode-arduino-community"; # publisher = "vscode-arduino"; # version = "0.7.2"; # sha256 = "FvKCAHiebcBObSFXCftcFpsDrA1TUv7TqKftFNeLAPI="; # } # # { # # name = "vscode-serial-monitor"; # # publisher = "microsoft"; # # version = "0.13.250616001"; # # sha256 = "ca978112ca1bbdcafac231b39a23dc4da786eff8147c4e72b9807785afee48bb"; # # } # ]; # }) ]; shellHook = '' zsh exit ''; }; }); }