diff --git a/nix/pkgs/default.nix b/nix/pkgs/default.nix index 0ba0997a4e..6e9958a9bb 100644 --- a/nix/pkgs/default.nix +++ b/nix/pkgs/default.nix @@ -83,4 +83,6 @@ lukegb-vscode = pkgs.vscode; magicard-cups-driver = pkgs.callPackage ./magicard-cups-driver { }; + + world-of-goo2 = pkgs.callPackage ./world-of-goo2.nix { }; } // (import ./heptapod-runner args) diff --git a/nix/pkgs/world-of-goo2.nix b/nix/pkgs/world-of-goo2.nix new file mode 100644 index 0000000000..47a3a17aae --- /dev/null +++ b/nix/pkgs/world-of-goo2.nix @@ -0,0 +1,24 @@ +{ 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 + ''; +}