blob: 762777bf8acf55f0892fc3f33cd9a6c43215885e (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
{
mkDerivation,
lib,
fetchFromGitLab,
gitUpdater,
wrapQtAppsHook,
cmake,
marble,
libsForQt5,
}:
mkDerivation rec {
pname = "zombietrackergps";
version = "1.15";
src = fetchFromGitLab {
owner = "ldutils-projects";
repo = pname;
# latest revision is not tagged upstream, use commit sha in the meantime
#rev = "v_${version}";
rev = "cc75d5744965cc6973323f5bb77f00b0b0153dce";
hash = "sha256-z/LFNRFdQQFxEWyAjcuGezRbTsv8z6Q6fK8NLjP4HNM=";
};
buildInputs =
[
marble.dev
]
++ (with libsForQt5; [
qtbase
qtcharts
qtsvg
qtwebengine
ldutils
]);
nativeBuildInputs = [
cmake
wrapQtAppsHook
];
preConfigure = ''
export LANG=en_US.UTF-8
'';
cmakeFlags = [
"-DLDUTILS_ROOT=${libsForQt5.ldutils}"
];
passthru.updateScript = gitUpdater {
rev-prefix = "v_";
};
meta = with lib; {
description = "GPS track manager for Qt using KDE Marble maps";
homepage = "https://www.zombietrackergps.net/ztgps/";
changelog = "https://www.zombietrackergps.net/ztgps/history.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [sohalt];
platforms = platforms.linux;
};
}
|