heroic{,-unwrapped}: 2.20.1 -> 2.21.0; heroic-unwrapped.legendary: 0.20.42 -> 0.20.43 (#512565)
This commit is contained in:
@@ -7,14 +7,14 @@
|
||||
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "legendary-heroic";
|
||||
version = "0.20.42";
|
||||
version = "0.20.43";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Heroic-Games-Launcher";
|
||||
repo = "legendary";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-ZnOQhIGAgUvZVdPpxdothKzPElp/hdvUJA0mTpXLyIM=";
|
||||
hash = "sha256-EQBrj+GOmVD0ZEArOk1Me4LLKbs6Ezl1lTzD0k5uUsQ=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [
|
||||
@@ -25,6 +25,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
requests
|
||||
requests-futures
|
||||
filelock
|
||||
pycryptodomex
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "legendary" ];
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
makeWrapper,
|
||||
# Electron updates can break Heroic, so try to use same version as upstream.
|
||||
# If the used electron version is higher than upstream's then the node-abi package might need to be updated
|
||||
electron_39,
|
||||
electron,
|
||||
vulkan-helper,
|
||||
gogdl,
|
||||
nile,
|
||||
@@ -22,7 +22,6 @@
|
||||
|
||||
let
|
||||
pnpm = pnpm_10_29_2;
|
||||
electron = electron_39;
|
||||
|
||||
legendary = callPackage ./legendary.nix { };
|
||||
epic-integration = callPackage ./epic-integration.nix { };
|
||||
@@ -30,13 +29,13 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "heroic-unwrapped";
|
||||
version = "2.20.1";
|
||||
version = "2.21.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Heroic-Games-Launcher";
|
||||
repo = "HeroicGamesLauncher";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-nXDQxctzXI/kB6o1ShhrhiloWnpYObG66nMAwxijFto=";
|
||||
hash = "sha256-rgLmm9krjPYjSn/wGAYbnFw7kqvuu9IBipb4ibOClOw=";
|
||||
};
|
||||
|
||||
pnpmDeps = fetchPnpmDeps {
|
||||
@@ -48,7 +47,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
;
|
||||
inherit pnpm;
|
||||
fetcherVersion = 3;
|
||||
hash = "sha256-3SkCLoH4ZQzKZIdCkWOfBHt83vjxbpTpMvhMZPCysyI=";
|
||||
hash = "sha256-O3QQsk8pvF9U5QvuMebCsy/iYz1oZIMkPeMtWohqW3w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -120,7 +119,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
install -D "flatpak/com.heroicgameslauncher.hgl.desktop" "$out/share/applications/com.heroicgameslauncher.hgl.desktop"
|
||||
install -D "src/frontend/assets/heroic-icon.svg" "$out/share/icons/hicolor/scalable/apps/com.heroicgameslauncher.hgl.svg"
|
||||
substituteInPlace "$out/share/applications/com.heroicgameslauncher.hgl.desktop" \
|
||||
--replace-fail "Exec=heroic-run --ozone-platform-hint=auto" "Exec=heroic"
|
||||
--replace-fail "Exec=heroic-run" "Exec=heroic"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user