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

36 lines
885 B
Nix
Raw Normal View History

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