world-of-goo2: init

This commit is contained in:
Luke Granger-Brown 2024-08-09 22:28:55 +01:00
parent 7be55eefd0
commit ec327dea3d
2 changed files with 26 additions and 0 deletions

View file

@ -83,4 +83,6 @@
lukegb-vscode = pkgs.vscode; lukegb-vscode = pkgs.vscode;
magicard-cups-driver = pkgs.callPackage ./magicard-cups-driver { }; magicard-cups-driver = pkgs.callPackage ./magicard-cups-driver { };
world-of-goo2 = pkgs.callPackage ./world-of-goo2.nix { };
} // (import ./heptapod-runner args) } // (import ./heptapod-runner args)

View file

@ -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
'';
}