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

36 lines
885 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, qmake, qttools }:
2016-06-25 05:03:03 +00:00
stdenv.mkDerivation rec {
2019-05-30 11:00:25 +00:00
pname = "gpxsee";
version = "7.8";
2016-06-25 05:03:03 +00:00
src = fetchFromGitHub {
owner = "tumic0";
repo = "GPXSee";
rev = version;
2019-05-30 11:00:25 +00:00
sha256 = "1ymqz4wrl9ghkyyqi2vrnlyvz3fc84s3p8a1dkiqlvyvj360ck9j";
2016-06-25 05:03:03 +00:00
};
2018-09-02 10:17:22 +00:00
nativeBuildInputs = [ qmake ];
buildInputs = [ qttools ];
2017-04-16 07:13:32 +00:00
preConfigure = ''
2019-01-05 09:44:07 +00:00
substituteInPlace src/common/programpaths.cpp --replace /usr/share/ $out/share/
2017-04-16 07:13:32 +00:00
lrelease lang/*.ts
2016-06-25 05:03:03 +00:00
'';
2018-09-02 10:17:22 +00:00
enableParallelBuilding = true;
2016-06-25 05:03:03 +00:00
meta = with stdenv.lib; {
2019-01-05 09:44:07 +00:00
homepage = https://www.gpxsee.org/;
2019-05-30 11:00:25 +00:00
description = "GPS log file viewer and analyzer";
2018-01-28 14:54:37 +00:00
longDescription = ''
2019-05-30 11:00:25 +00: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 05:03:03 +00:00
license = licenses.gpl3;
maintainers = [ maintainers.womfoo ];
platforms = platforms.linux;
};
}