2 # Packaging Dependencies
11 # Everspace Dependencies
19 # Unreal Engine 4 Dependencies
24 # - Video playback (upon starting a new game) does not work (screen is black)
25 stdenv.mkDerivation rec {
27 version = "1.3.5.3655";
30 name = "everspace_1_3_5_3655_32896.sh";
31 url = "https://www.gog.com/";
32 sha256 = "0jlvxq14k1pxmbr08y8kar0ijlqxcnkfqlvw883j96v9zr34ynj3";
47 (lib.getLib stdenv.cc.cc)
50 runtimeDependencies = [
70 # The shell script contains a zip file. Unzipping it works but will result
71 # in some error output and an error exit code.
78 ## Remove Bundled Libs ##
82 # TODO: This is probably what breaks video playback. It would be cleaner
83 # to remove the bundled libs and replace them with system libs but there
84 # are so many. Copy-pasting the list from the vlc package is a good start
85 # but still leaves us with many unresolved dependencies.
86 rm -rf ./data/noarch/game/RSG/Plugins/VlcMedia
89 rm -rf ./data/noarch/game/Engine/Binaries/ThirdParty/OpenAL
99 cp -r "./data/noarch" "$out/opt/everspace"
102 ln -s "$out/opt/everspace/game/RSG/Binaries/Linux/RSG-Linux-Shipping" "$out/bin/everspace"
104 mkdir -p "$out/share/pixmaps"
105 ln -s "$out/opt/everspace/support/icon.png" "$out/share/pixmaps/everspace-gog.png"
112 type = "Application";
113 name = "everspace-gog";
114 desktopName = "EVERSPACEā¢";
115 comment = meta.description;
117 icon = "everspace-gog";
118 categories = [ "Game" ];
123 description = "Action-focused single-player space shooter with roguelike elements";
124 homepage = "https://classic.everspace-game.com/";
125 license = licenses.unfree;
126 maintainers = with maintainers; [ jtrees ];
127 platforms = [ "x86_64-linux" ];
128 sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];