3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/gpxsee/default.nix
2019-06-18 12:09:46 +03:00

40 lines
930 B
Nix

{ stdenv, fetchFromGitHub, qmake, qttools, makeWrapper }:
stdenv.mkDerivation rec {
pname = "gpxsee";
version = "7.9";
src = fetchFromGitHub {
owner = "tumic0";
repo = "GPXSee";
rev = version;
sha256 = "029l5dhc9nnxiw7p0s4gyfkcqw709z7lz96aq8krs75mfk4fv07k";
};
nativeBuildInputs = [ qmake makeWrapper ];
buildInputs = [ qttools ];
preConfigure = ''
lrelease lang/*.ts
'';
enableParallelBuilding = true;
postInstall = ''
wrapProgram $out/bin/gpxsee \
--prefix XDG_DATA_DIRS ":" $out/share
'';
meta = with stdenv.lib; {
homepage = https://www.gpxsee.org/;
description = "GPS log file viewer and analyzer";
longDescription = ''
GPXSee is a Qt-based GPS log file viewer and analyzer that supports
all common GPS log file formats.
'';
license = licenses.gpl3;
maintainers = [ maintainers.womfoo ];
platforms = platforms.linux;
};
}