2020-10-11 12:50:04 +00:00
|
|
|
{ mkDerivation
|
|
|
|
, lib
|
|
|
|
, fetchFromGitLab
|
|
|
|
, qmake
|
|
|
|
, qtcharts
|
|
|
|
, qtsvg
|
|
|
|
, marble
|
|
|
|
, qtwebengine
|
|
|
|
, ldutils
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "zombietrackergps";
|
2020-11-30 08:33:03 +00:00
|
|
|
version = "1.03";
|
2020-10-11 12:50:04 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "ldutils-projects";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v_${version}";
|
2020-11-30 08:33:03 +00:00
|
|
|
sha256 = "1rmdy6kijmcxamm4mqmz8638xqisijlnpv8mimgxywpf90h9rrwq";
|
2020-10-11 12:50:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
ldutils
|
|
|
|
qtcharts
|
|
|
|
qtsvg
|
|
|
|
marble.dev
|
|
|
|
qtwebengine
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
qmake
|
|
|
|
];
|
|
|
|
|
|
|
|
prePatch = ''
|
|
|
|
sed -ie "s,INCLUDEPATH += /usr/include/libldutils,INCLUDEPATH += ${ldutils}," ZombieTrackerGPS.pro
|
|
|
|
'';
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export LANG=en_US.UTF-8
|
|
|
|
export INSTALL_ROOT=$out
|
|
|
|
'';
|
|
|
|
|
|
|
|
postConfigure = ''
|
|
|
|
substituteInPlace Makefile --replace '$(INSTALL_ROOT)' ""
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "GPS track manager for Qt using KDE Marble maps";
|
2020-11-30 08:33:03 +00:00
|
|
|
homepage = "https://www.zombietrackergps.net/ztgps/";
|
|
|
|
changelog = "https://www.zombietrackergps.net/ztgps/history.html";
|
2020-10-11 12:50:04 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ sohalt ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|