2018-02-17 11:06:27 +00:00
|
|
|
{ stdenv, fetchurl, asciidoc, asciidoctor, autoconf, automake, cmake,
|
2019-08-10 23:54:55 +00:00
|
|
|
docbook_xsl, fftw, fftwFloat, gfortran, libtool, libusb1, qtbase,
|
2019-08-20 08:01:16 +00:00
|
|
|
qtmultimedia, qtserialport, qttools, texinfo, wrapQtAppsHook }:
|
2018-02-17 11:06:27 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-20 08:01:16 +00:00
|
|
|
pname = "wsjtx";
|
2020-08-14 16:41:59 +00:00
|
|
|
version = "2.2.2";
|
2018-02-17 11:06:27 +00:00
|
|
|
|
2019-01-05 15:16:52 +00:00
|
|
|
# This is a "superbuild" tarball containing both wsjtx and a hamlib fork
|
2018-02-17 11:06:27 +00:00
|
|
|
src = fetchurl {
|
2019-01-05 15:16:52 +00:00
|
|
|
url = "http://physics.princeton.edu/pulsar/k1jt/wsjtx-${version}.tgz";
|
2020-08-14 16:41:59 +00:00
|
|
|
sha256 = "17agyrhclqyahgdwba8vi9sl7vq03sm00jlyrmjgv34a4czidg0w";
|
2018-02-17 11:06:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Hamlib builds with autotools, wsjtx builds with cmake
|
|
|
|
# Omitting pkgconfig because it causes issues locating the built hamlib
|
|
|
|
nativeBuildInputs = [
|
|
|
|
asciidoc asciidoctor autoconf automake cmake docbook_xsl gfortran libtool
|
2019-08-20 08:01:16 +00:00
|
|
|
qttools texinfo wrapQtAppsHook
|
2018-02-17 11:06:27 +00:00
|
|
|
];
|
|
|
|
buildInputs = [ fftw fftwFloat libusb1 qtbase qtmultimedia qtserialport ];
|
|
|
|
|
2019-01-05 15:16:52 +00:00
|
|
|
# Remove Git dependency from superbuild since sources are included
|
|
|
|
patches = [ ./super.patch ];
|
|
|
|
|
2018-02-17 11:06:27 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Weak-signal digital communication modes for amateur radio";
|
|
|
|
longDescription = ''
|
2019-08-10 23:54:55 +00:00
|
|
|
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
|
2018-02-17 11:06:27 +00:00
|
|
|
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.
|
|
|
|
'';
|
2019-08-20 08:01:16 +00:00
|
|
|
homepage = "https://physics.princeton.edu/pulsar/k1jt/wsjtx.html";
|
2018-02-17 11:06:27 +00:00
|
|
|
# Older licenses are for the statically-linked hamlib
|
|
|
|
license = with licenses; [ gpl3Plus gpl2Plus lgpl21Plus ];
|
|
|
|
platforms = platforms.linux;
|
2019-08-10 23:54:55 +00:00
|
|
|
maintainers = with maintainers; [ lasandell ];
|
2018-02-17 11:06:27 +00:00
|
|
|
};
|
|
|
|
}
|