{ appimageTools
, requireFile
, curlWithGnuTls
}:

appimageTools.wrapType2 rec {
  pname = "worldofgoo2";
  version = "12329.171";

  src = requireFile {
    name = "World_of_Goo_2-x86_64.${version}.appimage";
    hash = "sha256-/dOder333lqgKi+dQCIzeVtPObRYsn5LSYldXFXaK8o=";
    message = "Please download World of Goo 2 from the Humble Store and add it to the store.";
  };


  extraPkgs = pkgs: [
    pkgs.curlWithGnuTls
  ];

  profile = ''
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib
  '';
}