gpxsee: 11.12 → 12.2
This commit is contained in:
parent
aec607305a
commit
446429370e
|
@ -10,6 +10,7 @@
|
||||||
, qtlocation ? null # qt5 only
|
, qtlocation ? null # qt5 only
|
||||||
, qtpositioning ? null # qt6 only
|
, qtpositioning ? null # qt6 only
|
||||||
, qtpbfimageplugin
|
, qtpbfimageplugin
|
||||||
|
, qtserialport
|
||||||
, qtsvg
|
, qtsvg
|
||||||
, qt5compat ? null # qt6 only
|
, qt5compat ? null # qt6 only
|
||||||
, wrapQtAppsHook
|
, wrapQtAppsHook
|
||||||
|
@ -21,13 +22,13 @@ let
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gpxsee";
|
pname = "gpxsee";
|
||||||
version = "11.12";
|
version = "12.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tumic0";
|
owner = "tumic0";
|
||||||
repo = "GPXSee";
|
repo = "GPXSee";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-W35KBPYvTKrSi7UnzcUz8MsUwoq8rY5g/+hL1/gVpbI=";
|
hash = "sha256-d+hQNI+eCSMRFMzq09wL+GN9TgOIt245Z8GlPe7nY8E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = (substituteAll {
|
patches = (substituteAll {
|
||||||
|
@ -36,7 +37,7 @@ stdenv.mkDerivation rec {
|
||||||
inherit qttranslations;
|
inherit qttranslations;
|
||||||
});
|
});
|
||||||
|
|
||||||
buildInputs = [ qtpbfimageplugin ]
|
buildInputs = [ qtpbfimageplugin qtserialport ]
|
||||||
++ (if isQt6 then [
|
++ (if isQt6 then [
|
||||||
qtbase
|
qtbase
|
||||||
qtpositioning
|
qtpositioning
|
||||||
|
@ -55,6 +56,8 @@ stdenv.mkDerivation rec {
|
||||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||||
mkdir -p $out/Applications
|
mkdir -p $out/Applications
|
||||||
mv GPXSee.app $out/Applications
|
mv GPXSee.app $out/Applications
|
||||||
|
mkdir -p $out/bin
|
||||||
|
ln -s $out/Applications/GPXSee.app/Contents/MacOS/GPXSee $out/bin/gpxsee
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
|
Loading…
Reference in a new issue