nixpkgs/pkgs/applications/gis/zombietrackergps/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

62 lines
1.2 KiB
Nix
Raw Normal View History

2024-03-30 15:27:59 +00:00
{
mkDerivation,
lib,
fetchFromGitLab,
gitUpdater,
wrapQtAppsHook,
cmake,
marble,
libsForQt5,
2020-09-24 23:05:03 +00:00
}:
mkDerivation rec {
pname = "zombietrackergps";
2024-03-30 15:27:59 +00:00
version = "1.15";
2020-09-24 23:05:03 +00:00
src = fetchFromGitLab {
owner = "ldutils-projects";
repo = pname;
2024-03-30 15:27:59 +00:00
# latest revision is not tagged upstream, use commit sha in the meantime
#rev = "v_${version}";
rev = "cc75d5744965cc6973323f5bb77f00b0b0153dce";
hash = "sha256-z/LFNRFdQQFxEWyAjcuGezRbTsv8z6Q6fK8NLjP4HNM=";
2020-09-24 23:05:03 +00:00
};
2024-03-30 15:27:59 +00:00
buildInputs =
[
marble.dev
]
++ (with libsForQt5; [
qtbase
qtcharts
qtsvg
qtwebengine
ldutils
]);
2020-09-24 23:05:03 +00:00
nativeBuildInputs = [
2024-03-30 15:27:59 +00:00
cmake
wrapQtAppsHook
2020-09-24 23:05:03 +00:00
];
preConfigure = ''
export LANG=en_US.UTF-8
'';
2024-03-30 15:27:59 +00:00
cmakeFlags = [
"-DLDUTILS_ROOT=${libsForQt5.ldutils}"
];
2020-09-24 23:05:03 +00:00
2024-03-30 15:27:59 +00:00
passthru.updateScript = gitUpdater {
rev-prefix = "v_";
};
2021-05-28 12:48:47 +00:00
2020-09-24 23:05:03 +00:00
meta = with lib; {
description = "GPS track manager for Qt using KDE Marble maps";
2020-11-29 08:00:41 +00:00
homepage = "https://www.zombietrackergps.net/ztgps/";
changelog = "https://www.zombietrackergps.net/ztgps/history.html";
2020-09-24 23:05:03 +00:00
license = licenses.gpl3Plus;
2024-03-30 15:27:59 +00:00
maintainers = with maintainers; [sohalt];
2020-09-24 23:05:03 +00:00
platforms = platforms.linux;
};
}