depot/third_party/nixpkgs/pkgs/applications/gis/zombietrackergps/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

61 lines
1.2 KiB
Nix

{
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;
};
}