From 6cf4d49a8d5514eaa86325e175794c41cbc688c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 19 Jul 2022 14:03:30 +0200 Subject: Drop heoric and few improvements --- pkgs/heroic/default.nix | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 pkgs/heroic/default.nix (limited to 'pkgs/heroic/default.nix') diff --git a/pkgs/heroic/default.nix b/pkgs/heroic/default.nix deleted file mode 100644 index 5eba770..0000000 --- a/pkgs/heroic/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ lib, fetchurl, appimageTools }: - -let - pname = "heroic"; - version = "2.3.9"; - name = "${pname}-${version}"; - src = fetchurl { - url = "https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases/download/v${version}/Heroic-${version}.AppImage"; - sha256 = "17jzrh4qqcxvib9bbk2x224xwg67n6z5xsc9978w9vxb04mr0x7d"; - }; - appimageContents = appimageTools.extractType2 { inherit name src; }; - -in appimageTools.wrapType2 { - inherit name version src; - - extraInstallCommands = '' - mv $out/bin/${name} $out/bin/${pname} - - mkdir -p $out/share/${pname} - cp -a ${appimageContents}/locales $out/share/${pname} - cp -a ${appimageContents}/resources $out/share/${pname} - - install -m 444 -D ${appimageContents}/heroic.desktop -t $out/share/applications - - cp -a ${appimageContents}/usr/share/icons $out/share/ - - substituteInPlace $out/share/applications/heroic.desktop \ - --replace 'Exec=AppRun' 'Exec=heroic' - ''; - - meta = with lib; { - description = "A Native GUI Epic Games Launcher for Linux, Windows and Mac"; - homepage = "https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher"; - license = licenses.gpl3Only; - platforms = [ "x86_64-linux" ]; - }; -} -- cgit v1.2.3