mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
heroic-unwrapped: 2.16.1 -> 2.17.0
(cherry picked from commit 9a7782a6b3
)
This commit is contained in:
parent
44bdc2c0d0
commit
3a5080c8cd
1 changed files with 11 additions and 10 deletions
|
@ -3,12 +3,13 @@
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
pnpm_9,
|
# Pinned, because our FODs are not guaranteed to be stable between major versions.
|
||||||
|
pnpm_10,
|
||||||
nodejs,
|
nodejs,
|
||||||
python3,
|
python3,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
# Upstream uses EOL Electron 31. Use next oldest version.
|
# Electron updates frequently break Heroic, so pin same version as upstream, or newest non-EOL.
|
||||||
electron_34,
|
electron_36,
|
||||||
vulkan-helper,
|
vulkan-helper,
|
||||||
gogdl,
|
gogdl,
|
||||||
legendary-heroic,
|
legendary-heroic,
|
||||||
|
@ -17,27 +18,27 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
electron = electron_34;
|
electron = electron_36;
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "heroic-unwrapped";
|
pname = "heroic-unwrapped";
|
||||||
version = "2.16.1";
|
version = "2.17.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Heroic-Games-Launcher";
|
owner = "Heroic-Games-Launcher";
|
||||||
repo = "HeroicGamesLauncher";
|
repo = "HeroicGamesLauncher";
|
||||||
rev = "v${finalAttrs.version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-BnBzbbyi9cdO6W59cnY13hnhH+tjrTryTp9XIcERwh4=";
|
hash = "sha256-Tjme43vw+aIjyXBIsaNE8+bWrLKpIDJZpQaKb/bJYFQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
pnpmDeps = pnpm_9.fetchDeps {
|
pnpmDeps = pnpm_10.fetchDeps {
|
||||||
inherit (finalAttrs) pname version src;
|
inherit (finalAttrs) pname version src;
|
||||||
hash = "sha256-2IQyXULgFoz0rFQ8SwERgMDzzo7pZ3DbqhwrWNYSwRo=";
|
hash = "sha256-cV0+HZb6g65kGu1zOBueY954ol1bLGW8ddCniwAVWcw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
nodejs
|
nodejs
|
||||||
pnpm_9.configHook
|
pnpm_10.configHook
|
||||||
python3
|
python3
|
||||||
makeWrapper
|
makeWrapper
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue