nixpkgs/pkgs/applications/misc/gpxsee/default.nix

40 lines
1018 B
Nix
Raw Normal View History

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