Merge pull request #205172 from mattmelling/gridtracker
Closes https://github.com/NixOS/nixpkgs/issues/201213
This commit is contained in:
commit
da93de31ff
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 ];
|
||||
};
|
||||
}
|
@ -7732,6 +7732,8 @@ with pkgs;
|
||||
libdevil = libdevil-nox;
|
||||
};
|
||||
|
||||
gridtracker = callPackage ../applications/radio/gridtracker { };
|
||||
|
||||
grin = callPackage ../tools/text/grin { };
|
||||
|
||||
gyb = callPackage ../tools/backup/gyb { };
|
||||
|
Loading…
Reference in New Issue
Block a user