gpxsee: 7.1 -> 7.8

This commit is contained in:
Vladyslav M 2019-05-30 14:00:25 +03:00
parent 205e4883eb
commit 99c0867006
No known key found for this signature in database
GPG Key ID: 3B1AD98E3D65BD4D

View File

@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, qmake, qttools }: { stdenv, fetchFromGitHub, qmake, qttools }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "gpxsee-${version}"; pname = "gpxsee";
version = "7.1"; version = "7.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tumic0"; owner = "tumic0";
repo = "GPXSee"; repo = "GPXSee";
rev = version; rev = version;
sha256 = "1dgag8j3566qwiz1pschfq2wqdp7y1pr4cm9na4zwrdjhn3ci6v5"; sha256 = "1ymqz4wrl9ghkyyqi2vrnlyvz3fc84s3p8a1dkiqlvyvj360ck9j";
}; };
nativeBuildInputs = [ qmake ]; nativeBuildInputs = [ qmake ];
@ -19,23 +19,14 @@ stdenv.mkDerivation rec {
lrelease lang/*.ts lrelease lang/*.ts
''; '';
installPhase = ''
install -Dm755 GPXSee $out/bin/GPXSee
mkdir -p $out/share/gpxsee
cp -r pkg/csv $out/share/gpxsee/
cp -r pkg/maps $out/share/gpxsee/
mkdir -p $out/share/gpxsee/translations
cp -r lang/*.qm $out/share/gpxsee/translations
'';
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://www.gpxsee.org/; homepage = https://www.gpxsee.org/;
description = "GPX viewer and analyzer"; description = "GPS log file viewer and analyzer";
longDescription = '' longDescription = ''
GPXSee is a Qt-based GPS log file viewer and analyzer that supports GPX, GPXSee is a Qt-based GPS log file viewer and analyzer that supports
TCX, KML, FIT, IGC, NMEA, SLF, LOC and OziExplorer files. all common GPS log file formats.
''; '';
license = licenses.gpl3; license = licenses.gpl3;
maintainers = [ maintainers.womfoo ]; maintainers = [ maintainers.womfoo ];