heroic: 2.8.0 -> 2.9.1

Now also depends upon nile.

+10 -5
+10 -5
pkgs/games/heroic/default.nix
··· 10 10 , electron 11 11 , gogdl 12 12 , legendary-gl 13 + , nile 13 14 }: 14 15 15 16 let appName = "heroic"; 16 17 in stdenv.mkDerivation rec { 17 18 pname = "heroic-unwrapped"; 18 - version = "2.8.0"; 19 + version = "2.9.1"; 19 20 20 21 src = fetchFromGitHub { 21 22 owner = "Heroic-Games-Launcher"; 22 23 repo = "HeroicGamesLauncher"; 23 24 rev = "v${version}"; 24 - hash = "sha256-AZwJRBkWuzBPT+ADVHabiK2KRXe6clZFa0IO99BO2Wk="; 25 + hash = "sha256-1FtAcp6cG2qRfWrAgCOQ87DzMvszqqhObfSzepezBGc="; 25 26 }; 26 27 27 28 offlineCache = fetchYarnDeps { 28 29 yarnLock = "${src}/yarn.lock"; 29 - hash = "sha256-xiLK0D9+oL2UMD7b/9htOQJEpYCNayKW+KJ/vNVCgsw="; 30 + hash = "sha256-KEzTjtoBcHNJxC/7W/Bft75JZuZUSHieOOAwhbr5d3s="; 30 31 }; 31 32 32 33 nativeBuildInputs = [ ··· 74 75 chmod -R u+w "$out/share/${appName}/public/bin" "$out/share/${appName}/build/bin" 75 76 rm -rf "$out/share/${appName}/public/bin" "$out/share/${appName}/build/bin" 76 77 mkdir -p "$out/share/${appName}/build/bin/${binPlatform}" 77 - ln -s "${gogdl}/bin/gogdl" "${legendary-gl}/bin/legendary" "$out/share/${appName}/build/bin/${binPlatform}" 78 + ln -s \ 79 + "${gogdl}/bin/gogdl" \ 80 + "${legendary-gl}/bin/legendary" \ 81 + "${nile}"/bin/nile \ 82 + "$out/share/${appName}/build/bin/${binPlatform}" 78 83 79 84 makeWrapper "${electron}/bin/electron" "$out/bin/heroic" \ 80 85 --inherit-argv0 \ ··· 92 97 ''; 93 98 94 99 meta = with lib; { 95 - description = "A Native GOG and Epic Games Launcher for Linux, Windows and Mac"; 100 + description = "A Native GOG, Epic, and Amazon Games Launcher for Linux, Windows and Mac"; 96 101 homepage = "https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher"; 97 102 changelog = "https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases"; 98 103 license = licenses.gpl3Only;