1 { lib, stdenv, fetchFromGitLab, nix-update-script, nwjs, wrapGAppsHook }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitLab {
8 owner = "gridtracker.org";
11 sha256 = "sha256-p3PdYOk0yvG3QkM17grzZmf9upK1n0zo4aOrlhGTvTU=";
14 nativeBuildInputs = [ wrapGAppsHook ];
17 substituteInPlace Makefile \
18 --replace '$(DESTDIR)/usr' '$(DESTDIR)/'
19 substituteInPlace gridtracker.sh \
20 --replace "exec nw" "exec ${nwjs}/bin/nw" \
21 --replace "/usr/share/gridtracker" "$out/share/gridtracker"
22 substituteInPlace gridtracker.desktop \
23 --replace "/usr/share/gridtracker/gridview.png" "$out/share/gridtracker/gridview.png"
26 makeFlags = [ "DESTDIR=$(out)" "NO_DIST_INSTALL=1" ];
28 passthru.updateScript = nix-update-script { };
31 description = "An amateur radio companion to WSJT-X or JTDX";
32 mainProgram = "gridtracker";
34 GridTracker listens to traffic from WSJT-X/JTDX, displays it on a map,
35 and has a sophisticated alerting and filtering system for finding and
36 working interesting stations. It also will upload QSO records to multiple
37 logging frameworks including Logbook of the World.
39 homepage = "https://gridtracker.org";
40 license = licenses.bsd3;
41 platforms = platforms.linux;
42 maintainers = with maintainers; [ melling ];