mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-02-13 19:00:19 +01:00
gaming: Add weakauras companion
This commit is contained in:
parent
f98748f5ec
commit
9100e6d42d
3 changed files with 35 additions and 0 deletions
|
|
@ -13,6 +13,7 @@
|
|||
warcraftlogs
|
||||
wine-tkg
|
||||
winetricks
|
||||
weakauras-companion
|
||||
wowup
|
||||
xivlauncher
|
||||
obs-studio
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
mesonlsp = pkgs.callPackage ./mesonlsp { };
|
||||
push-to-talk = pkgs.callPackage ./push-to-talk.nix { };
|
||||
pulse8-cec = pkgs.callPackage ./pulse8-cec.nix { };
|
||||
weakauras-companion = pkgs.callPackage ./weakauras-companion.nix { };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
33
pkgs/weakauras-companion.nix
Normal file
33
pkgs/weakauras-companion.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
appimageTools,
|
||||
fetchurl,
|
||||
lib,
|
||||
}:
|
||||
appimageTools.wrapType2 rec {
|
||||
pname = "WeakAuras-Companion";
|
||||
version = "5.2.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/WeakAuras/WeakAuras-Companion/releases/download/v${version}/WeakAuras-Companion-${version}.AppImage";
|
||||
sha256 = "sha256-r+XwfjrL8QBV+malPj9r4aDVTeNAvsLdBfEIltGmdGU=";
|
||||
};
|
||||
|
||||
extraInstallCommands =
|
||||
let
|
||||
appimageContents = appimageTools.extractType2 { inherit pname version src; };
|
||||
in
|
||||
''
|
||||
install -m 444 -D ${appimageContents}/weakauras-companion.desktop $out/share/applications/weakauras-companion.desktop
|
||||
substituteInPlace $out/share/applications/weakauras-companion.desktop --replace 'Exec=AppRun' 'Exec=${pname}'
|
||||
install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/0x0/apps/weakauras-companion.png \
|
||||
$out/share/icons/hicolor/512x512/apps/weakauras-companion.png
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://weakauras.wtf/";
|
||||
description = " A cross-platform application built to provide the missing link between Wago.io and World of Warcraft ";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ traxys ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue