mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-05-13 14:25:08 +02:00
gaming: Use upstream wowup
This commit is contained in:
parent
90f44b7264
commit
cd1a6b06e0
3 changed files with 1 additions and 35 deletions
|
|
@ -14,7 +14,7 @@
|
|||
wine-tkg
|
||||
winetricks
|
||||
weakauras-companion
|
||||
wowup
|
||||
wowup-cf
|
||||
xivlauncher
|
||||
obs-studio
|
||||
pulseaudio
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
}:
|
||||
{
|
||||
packages = {
|
||||
wowup = pkgs.callPackage ./wowup.nix { };
|
||||
simulationcraft = pkgs.callPackage ./simulationcraft.nix {
|
||||
simulationcraft-src = inputs.simulationcraft;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,33 +0,0 @@
|
|||
{
|
||||
appimageTools,
|
||||
fetchurl,
|
||||
lib,
|
||||
}:
|
||||
appimageTools.wrapType2 rec {
|
||||
pname = "wowup-cf";
|
||||
version = "2.11.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/WowUp/WowUp.CF/releases/download/v${version}/WowUp-CF-${version}.AppImage";
|
||||
sha256 = "sha256-jc9e+0zPJufZaIMhQ8nSFJwKFikuTyDLAxBWaOHf9qI=";
|
||||
};
|
||||
|
||||
extraInstallCommands =
|
||||
let
|
||||
appimageContents = appimageTools.extractType2 { inherit pname version src; };
|
||||
in
|
||||
''
|
||||
install -m 444 -D ${appimageContents}/wowup-cf.desktop $out/share/applications/wowup-cf.desktop
|
||||
substituteInPlace $out/share/applications/wowup-cf.desktop --replace 'Exec=AppRun' 'Exec=${pname}'
|
||||
install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/512x512/apps/wowup-cf.png \
|
||||
$out/share/icons/hicolor/512x512/apps/wowup-cf.png
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://wowup.io/";
|
||||
description = "Tool to install world of warcraft addons";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ traxys ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue