File tree Expand file tree Collapse file tree 3 files changed +45
-2
lines changed
by-name/le/legendary-heroic Expand file tree Collapse file tree 3 files changed +45
-2
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ gitUpdater ,
4+ fetchFromGitHub ,
5+ python3Packages ,
6+ } :
7+ let
8+ version = "0.20.36" ;
9+ in
10+ python3Packages . buildPythonApplication {
11+ pname = "legendary-heroic" ;
12+ inherit version ;
13+
14+ src = fetchFromGitHub {
15+ owner = "Heroic-Games-Launcher" ;
16+ repo = "legendary" ;
17+ rev = version ;
18+ sha256 = "sha256-+aywgd5RZfkmVuA0MaF2/Ie4a5If/zQxvVCcTfGpQpE=" ;
19+ } ;
20+
21+ propagatedBuildInputs = with python3Packages ; [
22+ requests
23+ filelock
24+ ] ;
25+
26+ disabled = python3Packages . pythonOlder "3.8" ;
27+
28+ pythonImportsCheck = [ "legendary" ] ;
29+
30+ meta = with lib ; {
31+ description = "Free and open-source Epic Games Launcher alternative" ;
32+ longDescription = ''
33+ This is the Heroic Games Launcher's fork of legendary.
34+ '' ;
35+ homepage = "https://github.com/Heroic-Games-Launcher/legendary" ;
36+ license = licenses . gpl3 ;
37+ maintainers = with maintainers ; [ aidalgol ] ;
38+ mainProgram = "legendary" ;
39+ } ;
40+
41+ passthru . updateScript = gitUpdater { } ;
42+ }
Original file line number Diff line number Diff line change 1010 electron ,
1111 vulkan-helper ,
1212 gogdl ,
13- legendary-gl ,
13+ legendary-heroic ,
1414 nile ,
1515 comet-gog ,
1616} :
@@ -79,7 +79,7 @@ stdenv.mkDerivation (finalAttrs: {
7979 mkdir -p "$out/opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux"
8080 ln -s \
8181 "${ lib . getExe gogdl } " \
82- "${ lib . getExe legendary-gl } " \
82+ "${ lib . getExe legendary-heroic } " \
8383 "${ lib . getExe nile } " \
8484 "${ lib . getExe comet-gog } " \
8585 "${ lib . getExe vulkan-helper } " \
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ buildFHSEnv {
3131 nettools
3232 opencl-headers
3333 p7zip
34+ pciutils
3435 perl
3536 psmisc
3637 python3
You can’t perform that action at this time.
0 commit comments