gpxsee: 2.17 -> 4.3
This commit is contained in:
parent
58db2099b4
commit
2ec6e82b7f
@ -1,27 +1,27 @@
|
||||
{ stdenv, fetchFromGitHub, qmakeHook }:
|
||||
{ stdenv, fetchFromGitHub, qmakeHook, qttools }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gpxsee-${version}";
|
||||
version = "2.17";
|
||||
version = "4.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tumic0";
|
||||
repo = "GPXSee";
|
||||
rev = version;
|
||||
sha256 = "1422kgj972ydasqqm0k02qf3v2py7if2ibri7yjg8awqilacy6by";
|
||||
sha256 = "15f686frxlrmdvh5cc837kx62g0ihqj4vb87i8433g7l5vqkv3lf";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ qmakeHook ];
|
||||
|
||||
patchPhase = ''
|
||||
sed -i '/lang\/gpxsee_cs.qm/d' gpxsee.qrc
|
||||
nativeBuildInputs = [ qmakeHook qttools ];
|
||||
|
||||
preConfigure = ''
|
||||
lrelease lang/*.ts
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
mkdir -p $out/bin
|
||||
cp GPXSee $out/bin
|
||||
'';
|
||||
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://tumic.wz.cz/gpxsee;
|
||||
description = "GPX viewer and analyzer";
|
||||
|
Loading…
Reference in New Issue
Block a user