tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
heroic: 2.8.0 -> 2.9.1
Now also depends upon nile.
Aidan Gauland
2 years ago
0e012f05
4d5658d7
+10
-5
1 changed file
expand all
collapse all
unified
split
pkgs
games
heroic
default.nix
+10
-5
pkgs/games/heroic/default.nix
···
10
, electron
11
, gogdl
12
, legendary-gl
0
13
}:
14
15
let appName = "heroic";
16
in stdenv.mkDerivation rec {
17
pname = "heroic-unwrapped";
18
-
version = "2.8.0";
19
20
src = fetchFromGitHub {
21
owner = "Heroic-Games-Launcher";
22
repo = "HeroicGamesLauncher";
23
rev = "v${version}";
24
-
hash = "sha256-AZwJRBkWuzBPT+ADVHabiK2KRXe6clZFa0IO99BO2Wk=";
25
};
26
27
offlineCache = fetchYarnDeps {
28
yarnLock = "${src}/yarn.lock";
29
-
hash = "sha256-xiLK0D9+oL2UMD7b/9htOQJEpYCNayKW+KJ/vNVCgsw=";
30
};
31
32
nativeBuildInputs = [
···
74
chmod -R u+w "$out/share/${appName}/public/bin" "$out/share/${appName}/build/bin"
75
rm -rf "$out/share/${appName}/public/bin" "$out/share/${appName}/build/bin"
76
mkdir -p "$out/share/${appName}/build/bin/${binPlatform}"
77
-
ln -s "${gogdl}/bin/gogdl" "${legendary-gl}/bin/legendary" "$out/share/${appName}/build/bin/${binPlatform}"
0
0
0
0
78
79
makeWrapper "${electron}/bin/electron" "$out/bin/heroic" \
80
--inherit-argv0 \
···
92
'';
93
94
meta = with lib; {
95
-
description = "A Native GOG and Epic Games Launcher for Linux, Windows and Mac";
96
homepage = "https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher";
97
changelog = "https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases";
98
license = licenses.gpl3Only;
···
10
, electron
11
, gogdl
12
, legendary-gl
13
+
, nile
14
}:
15
16
let appName = "heroic";
17
in stdenv.mkDerivation rec {
18
pname = "heroic-unwrapped";
19
+
version = "2.9.1";
20
21
src = fetchFromGitHub {
22
owner = "Heroic-Games-Launcher";
23
repo = "HeroicGamesLauncher";
24
rev = "v${version}";
25
+
hash = "sha256-1FtAcp6cG2qRfWrAgCOQ87DzMvszqqhObfSzepezBGc=";
26
};
27
28
offlineCache = fetchYarnDeps {
29
yarnLock = "${src}/yarn.lock";
30
+
hash = "sha256-KEzTjtoBcHNJxC/7W/Bft75JZuZUSHieOOAwhbr5d3s=";
31
};
32
33
nativeBuildInputs = [
···
75
chmod -R u+w "$out/share/${appName}/public/bin" "$out/share/${appName}/build/bin"
76
rm -rf "$out/share/${appName}/public/bin" "$out/share/${appName}/build/bin"
77
mkdir -p "$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}"
83
84
makeWrapper "${electron}/bin/electron" "$out/bin/heroic" \
85
--inherit-argv0 \
···
97
'';
98
99
meta = with lib; {
100
+
description = "A Native GOG, Epic, and Amazon Games Launcher for Linux, Windows and Mac";
101
homepage = "https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher";
102
changelog = "https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases";
103
license = licenses.gpl3Only;