volanta: init at 1.10.10 (#385206)

This commit is contained in:
Sandro
2025-03-01 03:37:18 +01:00
committed by GitHub
2 changed files with 45 additions and 0 deletions
+6
View File
@@ -21751,6 +21751,12 @@
githubId = 8219659;
name = "Siraphob Phipathananunth";
};
SirBerg = {
email = "benno@boerg.co";
github = "SirBerg";
githubId = 87900036;
name = "Benno Rodehack";
};
siriobalmelli = {
email = "sirio@b-ad.ch";
github = "siriobalmelli";
+39
View File
@@ -0,0 +1,39 @@
{
appimageTools,
fetchurl,
lib,
makeWrapper,
}:
let
pname = "volanta";
version = "1.10.10";
src = fetchurl {
url = "https://cdn.volanta.app/software/volanta-app/${version}-a7ebf1c7/volanta-${version}.AppImage";
hash = "sha256-pdMPC3flJzguRYmS+xKiAXWQ4BKsD3N48S27djXDtuo=";
};
appImageContents = appimageTools.extract { inherit pname version src; };
in
appimageTools.wrapType2 rec {
inherit pname version src;
nativeBuildInputs = [ makeWrapper ];
# Note: Volanta needs the env variable APPIMAGE=true to be set in order to work at all.
extraInstallCommands = ''
install -m 444 -D ${appImageContents}/volanta.desktop $out/share/applications/volanta.desktop
install -m 444 -D ${appImageContents}/volanta.png \
$out/share/icons/hicolor/1024x1024/apps/volanta.png
substituteInPlace $out/share/applications/volanta.desktop \
--replace-fail 'Exec=AppRun' 'Exec=env APPIMAGE=true volanta'
wrapProgram $out/bin/volanta \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
'';
meta = {
description = "Easy-to-use smart flight tracker that integrates all your flight data across all major flightsims";
homepage = "https://volanta.app/";
maintainers = with lib.maintainers; [ SirBerg ];
mainProgram = "volanta";
platforms = [ "x86_64-linux" ];
license = lib.licenses.unfree;
};
}