gpxsee: 7.8 -> 7.9
This commit is contained in:
parent
b00a5f5557
commit
8810f54dea
@ -1,26 +1,30 @@
|
|||||||
{ stdenv, fetchFromGitHub, qmake, qttools }:
|
{ stdenv, fetchFromGitHub, qmake, qttools, makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gpxsee";
|
pname = "gpxsee";
|
||||||
version = "7.8";
|
version = "7.9";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tumic0";
|
owner = "tumic0";
|
||||||
repo = "GPXSee";
|
repo = "GPXSee";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1ymqz4wrl9ghkyyqi2vrnlyvz3fc84s3p8a1dkiqlvyvj360ck9j";
|
sha256 = "029l5dhc9nnxiw7p0s4gyfkcqw709z7lz96aq8krs75mfk4fv07k";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ qmake ];
|
nativeBuildInputs = [ qmake makeWrapper ];
|
||||||
buildInputs = [ qttools ];
|
buildInputs = [ qttools ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
substituteInPlace src/common/programpaths.cpp --replace /usr/share/ $out/share/
|
|
||||||
lrelease lang/*.ts
|
lrelease lang/*.ts
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/gpxsee \
|
||||||
|
--prefix XDG_DATA_DIRS ":" $out/share
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://www.gpxsee.org/;
|
homepage = https://www.gpxsee.org/;
|
||||||
description = "GPS log file viewer and analyzer";
|
description = "GPS log file viewer and analyzer";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user