mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-19 20:09:01 +02:00
heroic: 2.13 -> 2.14
This commit is contained in:
parent
5fba51d78f
commit
cdecd96afb
|
@ -1,7 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, fetchYarnDeps
|
, fetchYarnDeps
|
||||||
, yarn
|
, yarn
|
||||||
, prefetch-yarn-deps
|
, prefetch-yarn-deps
|
||||||
|
@ -18,18 +17,18 @@
|
||||||
let appName = "heroic";
|
let appName = "heroic";
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "heroic-unwrapped";
|
pname = "heroic-unwrapped";
|
||||||
version = "2.13.0";
|
version = "2.14.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Heroic-Games-Launcher";
|
owner = "Heroic-Games-Launcher";
|
||||||
repo = "HeroicGamesLauncher";
|
repo = "HeroicGamesLauncher";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-02agp4EGT23QBKC8j1JIAkzVLRykFl55aH/wPF0bU/Y=";
|
hash = "sha256-EARNmvzOOE/AAQKqiXZhhCf2A/j9Cn2BRV9Yc0ezKfE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
offlineCache = fetchYarnDeps {
|
offlineCache = fetchYarnDeps {
|
||||||
yarnLock = "${src}/yarn.lock";
|
yarnLock = "${src}/yarn.lock";
|
||||||
hash = "sha256-hd0wY1an12zY0E6VPjiD23Mn5ZDPvFvIdu6FGoc7nYY=";
|
hash = "sha256-3CYSw1Qy363eyhy3UyFgihSau+miNHwvKjhlq/kWxWQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -46,11 +45,6 @@ in stdenv.mkDerivation rec {
|
||||||
./remove-drm-support.patch
|
./remove-drm-support.patch
|
||||||
# Make Heroic create Steam shortcuts (to non-steam games) with the correct path to heroic.
|
# Make Heroic create Steam shortcuts (to non-steam games) with the correct path to heroic.
|
||||||
./fix-non-steam-shortcuts.patch
|
./fix-non-steam-shortcuts.patch
|
||||||
(fetchpatch {
|
|
||||||
name = "adtraction-fallback.patch";
|
|
||||||
url = "https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/pull/3575.patch";
|
|
||||||
hash = "sha256-XhYYLQf/oSX3uK+0KzfnAb49iaGwhl9W64Tg2Fqi8Gg=";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
|
@ -36818,7 +36818,7 @@ with pkgs;
|
||||||
|
|
||||||
heroic-unwrapped = callPackage ../games/heroic {
|
heroic-unwrapped = callPackage ../games/heroic {
|
||||||
# Match the version used by the upstream package.
|
# Match the version used by the upstream package.
|
||||||
electron = electron_27;
|
electron = electron_29;
|
||||||
};
|
};
|
||||||
|
|
||||||
heroic = callPackage ../games/heroic/fhsenv.nix { };
|
heroic = callPackage ../games/heroic/fhsenv.nix { };
|
||||||
|
|
Loading…
Reference in a new issue