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

40 lines
930 B
Nix
Raw Normal View History

2019-06-17 07:39:56 +01:00
{ stdenv, fetchFromGitHub, qmake, qttools, makeWrapper }:
2016-06-25 06:03:03 +01:00
stdenv.mkDerivation rec {
2019-05-30 12:00:25 +01:00
pname = "gpxsee";
2019-06-17 07:39:56 +01:00
version = "7.9";
2016-06-25 06:03:03 +01:00
src = fetchFromGitHub {
owner = "tumic0";
repo = "GPXSee";
rev = version;
2019-06-17 07:39:56 +01:00
sha256 = "029l5dhc9nnxiw7p0s4gyfkcqw709z7lz96aq8krs75mfk4fv07k";
2016-06-25 06:03:03 +01:00
};
2019-06-17 07:39:56 +01:00
nativeBuildInputs = [ qmake makeWrapper ];
2018-09-02 11:17:22 +01:00
buildInputs = [ qttools ];
2017-04-16 08:13:32 +01:00
preConfigure = ''
lrelease lang/*.ts
2016-06-25 06:03:03 +01:00
'';
2018-09-02 11:17:22 +01:00
enableParallelBuilding = true;
2019-06-17 07:39:56 +01:00
postInstall = ''
wrapProgram $out/bin/gpxsee \
--prefix XDG_DATA_DIRS ":" $out/share
'';
2016-06-25 06:03:03 +01:00
meta = with stdenv.lib; {
2019-01-05 09:44:07 +00:00
homepage = https://www.gpxsee.org/;
2019-05-30 12:00:25 +01:00
description = "GPS log file viewer and analyzer";
2018-01-28 14:54:37 +00:00
longDescription = ''
2019-05-30 12:00:25 +01:00
GPXSee is a Qt-based GPS log file viewer and analyzer that supports
all common GPS log file formats.
2018-01-28 14:54:37 +00:00
'';
2016-06-25 06:03:03 +01:00
license = licenses.gpl3;
maintainers = [ maintainers.womfoo ];
platforms = platforms.linux;
};
}