8 , qtlocation ? null # qt5 only
9 , qtpositioning ? null # qt6 only
16 isQt6 = lib.versions.major qtbase.version == "6";
18 stdenv.mkDerivation (finalAttrs: {
22 src = fetchFromGitHub {
25 rev = finalAttrs.version;
26 hash = "sha256-EIeUcSHJXpd1/90fAPrP9F/DVyZhkcZk8MJd9VO1D70=";
49 postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
50 mkdir -p $out/Applications
51 mv GPXSee.app $out/Applications
53 ln -s $out/Applications/GPXSee.app/Contents/MacOS/GPXSee $out/bin/gpxsee
57 updateScript = nix-update-script { };
61 broken = isQt6 && stdenv.hostPlatform.isDarwin;
62 changelog = "https://build.opensuse.org/package/view_file/home:tumic:GPXSee/gpxsee/gpxsee.changes";
63 description = "GPS log file viewer and analyzer";
64 mainProgram = "gpxsee";
65 homepage = "https://www.gpxsee.org/";
66 license = lib.licenses.gpl3Only;
68 GPXSee is a Qt-based GPS log file viewer and analyzer that supports
69 all common GPS log file formats.
71 maintainers = with lib.maintainers; [ womfoo sikmir ];
72 platforms = lib.platforms.unix;