gridtracker: init at 1.22.1226
This commit is contained in:
parent
68dfc37fa9
commit
97c9905477
2 changed files with 45 additions and 0 deletions
43
pkgs/applications/radio/gridtracker/default.nix
Normal file
43
pkgs/applications/radio/gridtracker/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitLab
|
||||
, nwjs
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gridtracker";
|
||||
version = "1.22.1226";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "gridtracker.org";
|
||||
repo = "gridtracker";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-/Noc2aqHBjphX6RDqxQBI/OOKZgEnOndn0daBt1edXM=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace '$(DESTDIR)/usr' '$(DESTDIR)/'
|
||||
substituteInPlace gridtracker.sh \
|
||||
--replace "exec nw" "exec ${nwjs}/bin/nw" \
|
||||
--replace "/usr/share/gridtracker" "$out/share/gridtracker"
|
||||
substituteInPlace gridtracker.desktop \
|
||||
--replace "/usr/share/gridtracker/gridview.png" "$out/share/gridtracker/gridview.png"
|
||||
'';
|
||||
|
||||
makeFlags = [ "DESTDIR=$(out)" "NO_DIST_INSTALL=1" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An amateur radio companion to WSJT-X or JTDX";
|
||||
longDescription = ''
|
||||
GridTracker listens to traffic from WSJT-X/JTDX, displays it on a map,
|
||||
and has a sophisticated alerting and filtering system for finding and
|
||||
working interesting stations. It also will upload QSO records to multiple
|
||||
logging frameworks including Logbook of the World.
|
||||
'';
|
||||
homepage = "https://gridtracker.org";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ melling ];
|
||||
};
|
||||
}
|
|
@ -7708,6 +7708,8 @@ with pkgs;
|
|||
libdevil = libdevil-nox;
|
||||
};
|
||||
|
||||
gridtracker = callPackage ../applications/radio/gridtracker { };
|
||||
|
||||
grin = callPackage ../tools/text/grin { };
|
||||
|
||||
gyb = callPackage ../tools/backup/gyb { };
|
||||
|
|
Loading…
Reference in a new issue