Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
39 lines
1.3 KiB
Nix
39 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
appimageTools,
|
|
fetchurl,
|
|
}:
|
|
|
|
let
|
|
pname = "fflogs";
|
|
version = "8.17.68";
|
|
src = fetchurl {
|
|
url = "https://github.com/RPGLogs/Uploaders-fflogs/releases/download/v${version}/fflogs-v${version}.AppImage";
|
|
hash = "sha256-HnMTTzn6YMTYEXvtwU7R3K9JWG1ipb3RS/Oa46bzqJQ=";
|
|
};
|
|
extracted = appimageTools.extractType2 { inherit pname version src; };
|
|
in
|
|
appimageTools.wrapType2 {
|
|
inherit pname version src;
|
|
|
|
extraInstallCommands = ''
|
|
mkdir -p $out/share/applications
|
|
cp -r ${extracted}/usr/share/icons $out/share/
|
|
chmod -R +w $out/share/
|
|
test ! -e $out/share/icons/hicolor/0x0 # check for regression of https://github.com/electron-userland/electron-builder/issues/5294
|
|
cp ${extracted}/fflogs.desktop $out/share/applications/
|
|
sed -i 's@^Exec=AppRun --no-sandbox@Exec=fflogs@g' $out/share/applications/fflogs.desktop
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Application for uploading Final Fantasy XIV combat logs to fflogs.com";
|
|
homepage = "https://www.fflogs.com/client/download";
|
|
downloadPage = "https://github.com/RPGLogs/Uploaders-fflogs/releases/latest";
|
|
license = licenses.unfree; # no license listed
|
|
mainProgram = "fflogs";
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ keysmashes ];
|
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
|
};
|
|
}
|