2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, asciidoc, asciidoctor, autoconf, automake, cmake,
|
2020-04-24 23:36:52 +00:00
|
|
|
docbook_xsl, fftw, fftwFloat, gfortran, libtool, libusb1, qtbase,
|
2021-04-26 19:14:03 +00:00
|
|
|
qtmultimedia, qtserialport, qttools, boost, texinfo, wrapQtAppsHook }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wsjtx";
|
2023-04-12 12:48:02 +00:00
|
|
|
version = "2.6.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# This is a "superbuild" tarball containing both wsjtx and a hamlib fork
|
|
|
|
src = fetchurl {
|
2023-04-12 12:48:02 +00:00
|
|
|
url = "https://sourceforge.net/projects/wsjt/files/wsjtx-${version}/wsjtx-${version}.tgz";
|
|
|
|
sha256 = "sha256-YNDiy0WkmmrVhbCQiCGp/yw6wlZNYQQmIP82wt3Mdl8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Hamlib builds with autotools, wsjtx builds with cmake
|
2021-02-05 17:12:51 +00:00
|
|
|
# Omitting pkg-config because it causes issues locating the built hamlib
|
2020-04-24 23:36:52 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
asciidoc asciidoctor autoconf automake cmake docbook_xsl gfortran libtool
|
|
|
|
qttools texinfo wrapQtAppsHook
|
|
|
|
];
|
2021-04-26 19:14:03 +00:00
|
|
|
buildInputs = [ fftw fftwFloat libusb1 qtbase qtmultimedia qtserialport boost ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# Remove Git dependency from superbuild since sources are included
|
|
|
|
patches = [ ./super.patch ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Weak-signal digital communication modes for amateur radio";
|
|
|
|
longDescription = ''
|
|
|
|
WSJT-X implements communication protocols or "modes" called FT4, FT8, JT4,
|
|
|
|
JT9, JT65, QRA64, ISCAT, MSK144, and WSPR, as well as one called Echo for
|
|
|
|
detecting and measuring your own radio signals reflected from the Moon.
|
|
|
|
These modes were all designed for making reliable, confirmed ham radio
|
|
|
|
contacts under extreme weak-signal conditions.
|
|
|
|
'';
|
|
|
|
homepage = "https://physics.princeton.edu/pulsar/k1jt/wsjtx.html";
|
|
|
|
# Older licenses are for the statically-linked hamlib
|
|
|
|
license = with licenses; [ gpl3Plus gpl2Plus lgpl21Plus ];
|
|
|
|
platforms = platforms.linux;
|
2021-04-26 19:14:03 +00:00
|
|
|
maintainers = with maintainers; [ lasandell numinit ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|