1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

heroic: 2.9.1 -> 2.9.2

This commit is contained in:
Aidan Gauland 2023-09-15 08:01:16 +12:00
parent ae56b64b71
commit b9547bc21c
No known key found for this signature in database
GPG key ID: 16E68DD2D0E77C91

View file

@ -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" \