Unverified Commit b9547bc2 authored by Aidan Gauland's avatar Aidan Gauland
Browse files

heroic: 2.9.1 -> 2.9.2

parent ae56b64b
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
, python3
, makeWrapper
, electron
, vulkan-helper
, gogdl
, legendary-gl
, nile
@@ -16,18 +17,18 @@
let appName = "heroic";
in stdenv.mkDerivation rec {
  pname = "heroic-unwrapped";
  version = "2.9.1";
  version = "2.9.2";

  src = fetchFromGitHub {
    owner = "Heroic-Games-Launcher";
    repo = "HeroicGamesLauncher";
    rev = "v${version}";
    hash = "sha256-1FtAcp6cG2qRfWrAgCOQ87DzMvszqqhObfSzepezBGc=";
    hash = "sha256-kCvMUhN1kjGb5rV+lkKm1FFYBJUSQGOKTY1DQdiAWLU=";
  };

  offlineCache = fetchYarnDeps {
    yarnLock = "${src}/yarn.lock";
    hash = "sha256-KEzTjtoBcHNJxC/7W/Bft75JZuZUSHieOOAwhbr5d3s=";
    hash = "sha256-kHZL7TENVK58dvr8PBFtWYZ2PSKEYESX4e1xYmMA5+Y=";
  };

  nativeBuildInputs = [
@@ -86,7 +87,8 @@ in stdenv.mkDerivation rec {
    ln -s \
      "${gogdl}/bin/gogdl" \
      "${legendary-gl}/bin/legendary" \
      "${nile}"/bin/nile \
      "${nile}/bin/nile" \
      "${lib.optionalString stdenv.isLinux "${vulkan-helper}/bin/vulkan-helper"}" \
      "$out/share/${appName}/build/bin/${binPlatform}"

    makeWrapper "${electron}/bin/electron" "$out/bin/heroic" \