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
73 lines
1.5 KiB
Nix
73 lines
1.5 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
qt6,
|
|
wrapGAppsHook3,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "gpxsee";
|
|
version = "14.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tumic0";
|
|
repo = "GPXSee";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-oLwkryR2C1rGAUM7Gvn0uUy1aQGtFaAkFy8RQAAnNHU=";
|
|
};
|
|
|
|
buildInputs = [
|
|
qt6.qtbase
|
|
qt6.qtpositioning
|
|
qt6.qtserialport
|
|
qt6.qtsvg
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
qt6.qmake
|
|
qt6.qttools
|
|
qt6.wrapQtAppsHook
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
dontWrapGApps = true;
|
|
|
|
preFixup = ''
|
|
qtWrapperArgs+=(''${gappsWrapperArgs[@]})
|
|
'';
|
|
|
|
preConfigure = ''
|
|
lrelease gpxsee.pro
|
|
'';
|
|
|
|
postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
|
mkdir -p $out/Applications
|
|
mv GPXSee.app $out/Applications
|
|
mkdir -p $out/bin
|
|
ln -s $out/Applications/GPXSee.app/Contents/MacOS/GPXSee $out/bin/gpxsee
|
|
'';
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = {
|
|
changelog = "https://build.opensuse.org/package/view_file/home:tumic:GPXSee/gpxsee/gpxsee.changes";
|
|
description = "GPS log file viewer and analyzer";
|
|
mainProgram = "gpxsee";
|
|
homepage = "https://www.gpxsee.org/";
|
|
license = lib.licenses.gpl3Only;
|
|
longDescription = ''
|
|
GPXSee is a Qt-based GPS log file viewer and analyzer that supports
|
|
all common GPS log file formats.
|
|
'';
|
|
maintainers = with lib.maintainers; [
|
|
womfoo
|
|
sikmir
|
|
];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|