mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 04:03:56 +00:00
36 lines
885 B
Nix
36 lines
885 B
Nix
{ stdenv, fetchFromGitHub, qmake, qttools }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gpxsee";
|
|
version = "7.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tumic0";
|
|
repo = "GPXSee";
|
|
rev = version;
|
|
sha256 = "1ymqz4wrl9ghkyyqi2vrnlyvz3fc84s3p8a1dkiqlvyvj360ck9j";
|
|
};
|
|
|
|
nativeBuildInputs = [ qmake ];
|
|
buildInputs = [ qttools ];
|
|
|
|
preConfigure = ''
|
|
substituteInPlace src/common/programpaths.cpp --replace /usr/share/ $out/share/
|
|
lrelease lang/*.ts
|
|
'';
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
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;
|
|
};
|
|
}
|