Unverified Commit 5820b761 authored by K900's avatar K900 Committed by GitHub
Browse files

heroic: 2.15.1 -> 2.15.2 (#343364)

parents 50802d43 7747aa9b
Loading
Loading
Loading
Loading
+21 −14
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, pnpm
, nodejs
, makeWrapper
, electron
, vulkan-helper
, gogdl
, legendary-gl
, nile
, comet-gog
{
  lib,
  stdenv,
  fetchFromGitHub,
  nix-update-script,
  pnpm,
  nodejs,
  makeWrapper,
  electron,
  vulkan-helper,
  gogdl,
  legendary-gl,
  nile,
  comet-gog,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "heroic-unwrapped";
  version = "2.15.1";
  version = "2.15.2";

  src = fetchFromGitHub {
    owner = "Heroic-Games-Launcher";
    repo = "HeroicGamesLauncher";
    rev = "v${finalAttrs.version}";
    hash = "sha256-+OQRcBOf9Y34DD7FOp/3SO05mREG6or/HPiOkasHWPM=";
    hash = "sha256-AndJqk1VAUdC4pOTRzyfhdxmzJMskGF6pUiqPs3fIy4=";
  };

  pnpmDeps = pnpm.fetchDeps {
@@ -93,6 +95,11 @@ stdenv.mkDerivation (finalAttrs: {
    runHook postInstall
  '';

  passthru = {
    inherit (finalAttrs) pnpmDeps;
    updateScript = nix-update-script { };
  };

  meta = with lib; {
    description = "Native GOG, Epic, and Amazon Games Launcher for Linux, Windows and Mac";
    homepage = "https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher";
+129 −117
Original line number Diff line number Diff line
{ buildFHSEnv
, heroic-unwrapped
, extraPkgs ? pkgs: [ ]
, extraLibraries ? pkgs: [ ]
{
  buildFHSEnv,
  heroic-unwrapped,
  extraPkgs ? pkgs: [ ],
  extraLibraries ? pkgs: [ ],
}:

buildFHSEnv {
@@ -15,7 +16,10 @@ buildFHSEnv {
  # required by Electron
  unshareIpc = false;

  targetPkgs = pkgs: with pkgs; [
  targetPkgs =
    pkgs:
    with pkgs;
    [
      heroic-unwrapped
      gamemode
      curl
@@ -33,10 +37,13 @@ buildFHSEnv {
      which
      xorg.xrandr
      zstd
  ] ++ extraPkgs pkgs;
    ]
    ++ extraPkgs pkgs;

  multiPkgs = let
    xorgDeps = pkgs: with pkgs.xorg; [
  multiPkgs =
    let
      xorgDeps =
        pkgs: with pkgs.xorg; [
          libpthreadstubs
          libSM
          libX11
@@ -54,7 +61,8 @@ buildFHSEnv {
          libXv
          libXxf86vm
        ];
    gstreamerDeps = pkgs: with pkgs.gst_all_1; [
      gstreamerDeps =
        pkgs: with pkgs.gst_all_1; [
          gstreamer
          gst-plugins-base
          gst-plugins-good
@@ -62,7 +70,10 @@ buildFHSEnv {
          gst-plugins-bad
          gst-libav
        ];
  in pkgs: with pkgs; [
    in
    pkgs:
    with pkgs;
    [
      alsa-lib
      alsa-plugins
      bash
@@ -128,7 +139,8 @@ buildFHSEnv {
      vulkan-loader
      wayland
      zlib
  ] ++ xorgDeps pkgs
    ]
    ++ xorgDeps pkgs
    ++ gstreamerDeps pkgs
    ++ extraLibraries pkgs;