diff options
author | Nikolay Korotkiy <sikmir@disroot.org> | 2023-03-11 13:20:47 +0400 |
---|---|---|
committer | Nikolay Korotkiy <sikmir@disroot.org> | 2023-03-11 13:42:43 +0400 |
commit | 446429370e2bed87de9bc41f182842ed6079498f (patch) | |
tree | 3307208d17cdb7de0f64342fac69c44686f1edc1 /pkgs/applications/misc/gpxsee | |
parent | aec607305a135cf667ce377b9333a4fa408f74cf (diff) |
gpxsee: 11.12 → 12.2
Diffstat (limited to 'pkgs/applications/misc/gpxsee')
-rw-r--r-- | pkgs/applications/misc/gpxsee/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/applications/misc/gpxsee/default.nix b/pkgs/applications/misc/gpxsee/default.nix index e71daa754ab68..a5eccb239e3ce 100644 --- a/pkgs/applications/misc/gpxsee/default.nix +++ b/pkgs/applications/misc/gpxsee/default.nix @@ -10,6 +10,7 @@ , qtlocation ? null # qt5 only , qtpositioning ? null # qt6 only , qtpbfimageplugin +, qtserialport , qtsvg , qt5compat ? null # qt6 only , wrapQtAppsHook @@ -21,13 +22,13 @@ let in stdenv.mkDerivation rec { pname = "gpxsee"; - version = "11.12"; + version = "12.2"; src = fetchFromGitHub { owner = "tumic0"; repo = "GPXSee"; rev = version; - hash = "sha256-W35KBPYvTKrSi7UnzcUz8MsUwoq8rY5g/+hL1/gVpbI="; + hash = "sha256-d+hQNI+eCSMRFMzq09wL+GN9TgOIt245Z8GlPe7nY8E="; }; patches = (substituteAll { @@ -36,7 +37,7 @@ stdenv.mkDerivation rec { inherit qttranslations; }); - buildInputs = [ qtpbfimageplugin ] + buildInputs = [ qtpbfimageplugin qtserialport ] ++ (if isQt6 then [ qtbase qtpositioning @@ -55,6 +56,8 @@ stdenv.mkDerivation rec { postInstall = lib.optionalString stdenv.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 = { |