2020-01-29 11:07:56 +01:00
|
|
|
{ stdenv, mkDerivation, lib, fetchFromGitHub, qmake, qttools }:
|
2016-06-25 07:03:03 +02:00
|
|
|
|
2019-07-29 21:39:25 +02:00
|
|
|
mkDerivation rec {
|
2019-05-30 13:00:25 +02:00
|
|
|
pname = "gpxsee";
|
2020-02-13 08:23:37 +01:00
|
|
|
version = "7.22";
|
2016-06-25 07:03:03 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tumic0";
|
|
|
|
repo = "GPXSee";
|
|
|
|
rev = version;
|
2020-02-13 08:23:37 +01:00
|
|
|
sha256 = "0gxkx255d8cn5076ync731cdygwvi95rxv463pd4rdw5srbr0gm5";
|
2016-06-25 07:03:03 +02:00
|
|
|
};
|
|
|
|
|
2019-07-29 21:39:25 +02:00
|
|
|
nativeBuildInputs = [ qmake ];
|
2018-09-02 12:17:22 +02:00
|
|
|
buildInputs = [ qttools ];
|
2017-04-16 09:13:32 +02:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
lrelease lang/*.ts
|
2016-06-25 07:03:03 +02:00
|
|
|
'';
|
|
|
|
|
2020-01-29 11:07:56 +01:00
|
|
|
postInstall = lib.optionalString stdenv.isDarwin ''
|
|
|
|
mkdir -p $out/Applications
|
|
|
|
mv GPXSee.app $out/Applications
|
|
|
|
wrapQtApp $out/Applications/GPXSee.app/Contents/MacOS/GPXSee
|
|
|
|
'';
|
|
|
|
|
2018-09-02 12:17:22 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2019-07-29 21:39:25 +02:00
|
|
|
meta = with lib; {
|
2019-01-05 10:44:07 +01:00
|
|
|
homepage = https://www.gpxsee.org/;
|
2019-05-30 13:00:25 +02:00
|
|
|
description = "GPS log file viewer and analyzer";
|
2018-01-28 15:54:37 +01:00
|
|
|
longDescription = ''
|
2019-05-30 13:00:25 +02:00
|
|
|
GPXSee is a Qt-based GPS log file viewer and analyzer that supports
|
|
|
|
all common GPS log file formats.
|
2018-01-28 15:54:37 +01:00
|
|
|
'';
|
2016-06-25 07:03:03 +02:00
|
|
|
license = licenses.gpl3;
|
2019-09-03 20:11:22 +02:00
|
|
|
maintainers = with maintainers; [ womfoo sikmir ];
|
2020-01-29 11:07:56 +01:00
|
|
|
platforms = with platforms; linux ++ darwin;
|
2016-06-25 07:03:03 +02:00
|
|
|
};
|
|
|
|
}
|