Heroic Games Launcher: various fixes (#383560)
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
{
|
||||
lib,
|
||||
gitUpdater,
|
||||
fetchFromGitHub,
|
||||
python3Packages,
|
||||
}:
|
||||
let
|
||||
version = "0.20.36";
|
||||
in
|
||||
python3Packages.buildPythonApplication {
|
||||
pname = "legendary-heroic";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Heroic-Games-Launcher";
|
||||
repo = "legendary";
|
||||
rev = version;
|
||||
sha256 = "sha256-+aywgd5RZfkmVuA0MaF2/Ie4a5If/zQxvVCcTfGpQpE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
requests
|
||||
filelock
|
||||
];
|
||||
|
||||
disabled = python3Packages.pythonOlder "3.8";
|
||||
|
||||
pythonImportsCheck = [ "legendary" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Free and open-source Epic Games Launcher alternative";
|
||||
longDescription = ''
|
||||
This is the Heroic Games Launcher's fork of legendary.
|
||||
'';
|
||||
homepage = "https://github.com/Heroic-Games-Launcher/legendary";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ aidalgol ];
|
||||
mainProgram = "legendary";
|
||||
};
|
||||
|
||||
passthru.updateScript = gitUpdater { };
|
||||
}
|
||||
@@ -10,7 +10,7 @@
|
||||
electron,
|
||||
vulkan-helper,
|
||||
gogdl,
|
||||
legendary-gl,
|
||||
legendary-heroic,
|
||||
nile,
|
||||
comet-gog,
|
||||
}:
|
||||
@@ -79,7 +79,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
mkdir -p "$out/opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux"
|
||||
ln -s \
|
||||
"${lib.getExe gogdl}" \
|
||||
"${lib.getExe legendary-gl}" \
|
||||
"${lib.getExe legendary-heroic}" \
|
||||
"${lib.getExe nile}" \
|
||||
"${lib.getExe comet-gog}" \
|
||||
"${lib.getExe vulkan-helper}" \
|
||||
|
||||
@@ -31,6 +31,7 @@ buildFHSEnv {
|
||||
nettools
|
||||
opencl-headers
|
||||
p7zip
|
||||
pciutils
|
||||
perl
|
||||
psmisc
|
||||
python3
|
||||
|
||||
Reference in New Issue
Block a user