heroic-unwrapped: Add missing dependencies

- comet-gog.dummy-service
- epic-integration

+61 -1
+49
pkgs/by-name/he/heroic-unwrapped/epic-integration.nix
···
··· 1 + { 2 + lib, 3 + stdenv, 4 + gitUpdater, 5 + fetchFromGitHub, 6 + cmake, 7 + pkgsCross, 8 + }: 9 + stdenv.mkDerivation (finalAttrs: { 10 + pname = "heroic-epic-integration"; 11 + version = "0.3"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "Etaash-mathamsetty"; 15 + repo = "heroic-epic-integration"; 16 + tag = "v${finalAttrs.version}"; 17 + hash = "sha256-Zn0MsaQd8Ro6eu8IQkMcLNGLVTUukwajkn8PRLfB+Yw="; 18 + }; 19 + 20 + nativeBuildInputs = [ 21 + cmake 22 + pkgsCross.mingwW64.buildPackages.gcc 23 + ]; 24 + 25 + cmakeFlags = [ (lib.cmakeFeature "CMAKE_TOOLCHAIN_FILE" "../windows.cmake") ]; 26 + 27 + installPhase = '' 28 + runHook preInstall 29 + 30 + mkdir $out 31 + cp heroic-epic-integration.exe $out/EpicGamesLauncher.exe 32 + 33 + runHook postInstall 34 + ''; 35 + 36 + meta = { 37 + description = "Wrapper process for games launched through Heroic Games Launcher"; 38 + longDescription = '' 39 + This is a Windows executable that pretends to be EpicGamesLauncher.exe for 40 + games that expect it to be their parent process. 41 + ''; 42 + homepage = "https://github.com/Etaash-mathamsetty/heroic-epic-integration"; 43 + changelog = "https://github.com/Etaash-mathamsetty/heroic-epic-integration/releases/tag/v${finalAttrs.version}"; 44 + license = lib.licenses.mit; 45 + maintainers = with lib.maintainers; [ aidalgol ]; 46 + }; 47 + 48 + passthru.updateScript = gitUpdater { }; 49 + })
+12 -1
pkgs/by-name/he/heroic-unwrapped/package.nix
··· 1 { 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 # Pinned, because our FODs are not guaranteed to be stable between major versions. ··· 18 }: 19 20 let 21 electron = electron_36; 22 in 23 stdenv.mkDerivation (finalAttrs: { ··· 78 79 cp -r public "$out/opt/heroic/resources/app.asar.unpacked/build" 80 rm -rf "$out/opt/heroic/resources/app.asar.unpacked/build/bin" 81 - mkdir -p "$out/opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux" 82 ln -s \ 83 "${lib.getExe gogdl}" \ 84 "${lib.getExe legendary-heroic}" \ ··· 86 "${lib.getExe comet-gog}" \ 87 "${lib.getExe vulkan-helper}" \ 88 "$out/opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux" 89 90 makeWrapper "${electron}/bin/electron" "$out/bin/heroic" \ 91 --inherit-argv0 \ ··· 102 103 runHook postInstall 104 ''; 105 106 meta = with lib; { 107 description = "Native GOG, Epic, and Amazon Games Launcher for Linux, Windows and Mac";
··· 1 { 2 lib, 3 + callPackage, 4 stdenv, 5 fetchFromGitHub, 6 # Pinned, because our FODs are not guaranteed to be stable between major versions. ··· 19 }: 20 21 let 22 + epic-integration = callPackage ./epic-integration.nix { }; 23 electron = electron_36; 24 in 25 stdenv.mkDerivation (finalAttrs: { ··· 80 81 cp -r public "$out/opt/heroic/resources/app.asar.unpacked/build" 82 rm -rf "$out/opt/heroic/resources/app.asar.unpacked/build/bin" 83 + mkdir -p \ 84 + "$out/opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux" \ 85 + "$out/opt/heroic/resources/app.asar.unpacked/build/bin/x64/win32" 86 ln -s \ 87 "${lib.getExe gogdl}" \ 88 "${lib.getExe legendary-heroic}" \ ··· 90 "${lib.getExe comet-gog}" \ 91 "${lib.getExe vulkan-helper}" \ 92 "$out/opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux" 93 + # Don't symlink these so we don't confuse Windows applications under Wine/Proton. 94 + cp \ 95 + "${comet-gog.dummy-service}/GalaxyCommunication.exe" \ 96 + "${epic-integration}/EpicGamesLauncher.exe" \ 97 + "$out/opt/heroic/resources/app.asar.unpacked/build/bin/x64/win32" 98 99 makeWrapper "${electron}/bin/electron" "$out/bin/heroic" \ 100 --inherit-argv0 \ ··· 111 112 runHook postInstall 113 ''; 114 + 115 + passthru.epic-integration = epic-integration; 116 117 meta = with lib; { 118 description = "Native GOG, Epic, and Amazon Games Launcher for Linux, Windows and Mac";