anchor.diff:                          else if stdenv.hostPlatform.isAarch32 then "linuxarm"
                           else throw "${stdenv.hostPlatform.system} is not supported in teensy";
   
  -  flavor = (if withTeensyduino then "teensyduino" else "arduino")
  +  pname = (if withTeensyduino then "teensyduino" else "arduino")
                + lib.optionalString (!withGui) "-core";
   in
   stdenv.mkDerivation rec {
  +  inherit pname;
     version = "1.8.16";
  -  name = "${flavor}-${version}";
   
     src = fetchFromGitHub {
       owner = "arduino";
  
positive.code: , udev
  }:
  
  assert withGui -> gtk3 != null && wrapGAppsHook != null;
  assert withTeensyduino -> withGui;
  let
    externalDownloads = import ./downloads.nix {
  
negative.code: , ncurses
  , readline
  , withGui ? false
  , gtk3
  , wrapGAppsHook
  , withTeensyduino ? false
    /* Packages needed for Teensyduino */
  