From 8639d7094302d945fcd567c8210b46b4015a6222 Mon Sep 17 00:00:00 2001 From: Aidan Gauland Date: Thu, 1 Jun 2023 18:15:48 +1200 Subject: [PATCH] heroic: 2.7.1 -> 2.8.0 --- pkgs/games/heroic/default.nix | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/pkgs/games/heroic/default.nix b/pkgs/games/heroic/default.nix index 7b4a94a7831f..1baf9cbf8163 100644 --- a/pkgs/games/heroic/default.nix +++ b/pkgs/games/heroic/default.nix @@ -15,29 +15,20 @@ let appName = "heroic"; in stdenv.mkDerivation rec { pname = "heroic-unwrapped"; - version = "2.7.1"; + version = "2.8.0"; src = fetchFromGitHub { owner = "Heroic-Games-Launcher"; repo = "HeroicGamesLauncher"; rev = "v${version}"; - sha256 = "sha256-l2eVLn1N+1nGxr8Oa2ecQgBmO0w/VJ8AY06GYQ0HiiI="; + hash = "sha256-AZwJRBkWuzBPT+ADVHabiK2KRXe6clZFa0IO99BO2Wk="; }; offlineCache = fetchYarnDeps { yarnLock = "${src}/yarn.lock"; - sha256 = "sha256-R0lZrVfUH8NucuwarcE47jQ8ex5FY2hK6jJJ2TIRSWY="; + hash = "sha256-xiLK0D9+oL2UMD7b/9htOQJEpYCNayKW+KJ/vNVCgsw="; }; - patches = [ - # Fix for capturing keyboard shortcuts when not in focus. - # TODO: Remove when updating past 2.7.1. - (fetchpatch { - url = "https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/commit/c82e6ca8dd7070071793fe5a3c4c04b4ae02c3c7.patch"; - hash = "sha256-Pum67YPejfq8ERv6XWVLQzs+/SyNojmTGTQpE0UR4kg="; - }) - ]; - nativeBuildInputs = [ yarn fixup_yarn_lock