{ buildFHSEnv, callPackage, lib }:
let

  shticker-book-unwritten-unwrapped = callPackage ./unwrapped.nix { };

in buildFHSEnv {
  name = "shticker_book_unwritten";
  targetPkgs = pkgs: with pkgs; [
      alsa-lib
      libglvnd
      libpulseaudio
      shticker-book-unwritten-unwrapped
      xorg.libX11
      xorg.libXcursor
      xorg.libXext
  ];
  runScript = "shticker_book_unwritten";

  meta = with lib; {
    description = "Minimal CLI launcher for the Toontown Rewritten MMORPG";
    mainProgram = "shticker_book_unwritten";
    homepage = "https://github.com/JonathanHelianthicusDoe/shticker_book_unwritten";
    license = licenses.gpl3Plus;
    maintainers = [ maintainers.reedrw ];
    platforms = platforms.linux;
  };
}
