blob: c3002104256c842cbbf50101dd7e245ae9428399 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{ stdenv, mkDerivation, lib, fetchFromGitHub
, qmake, qttools
}:
mkDerivation rec {
pname = "gpxlab";
version = "0.7.0";
src = fetchFromGitHub {
owner = "BourgeoisLab";
repo = "GPXLab";
rev = "v${version}";
sha256 = "080vnwcciqblfrbfyz9gjhl2lqw1hkdpbgr5qfrlyglkd4ynjd84";
};
nativeBuildInputs = [ qmake qttools ];
preConfigure = ''
lrelease GPXLab/locale/*.ts
'';
postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
mkdir -p $out/Applications
mv GPXLab/GPXLab.app $out/Applications
'';
meta = with lib; {
homepage = "https://github.com/BourgeoisLab/GPXLab";
description = "Program to show and manipulate GPS tracks";
mainProgram = "gpxlab";
longDescription = ''
GPXLab is an application to display and manage GPS tracks
previously recorded with a GPS tracker.
'';
license = licenses.gpl3Only;
maintainers = with maintainers; [ sikmir ];
platforms = platforms.unix;
};
}
|