nixpkgs/pkgs/applications/misc/wsjtx/default.nix
R. RyanTM 4a0c181d0a wsjtx: 1.8.0 -> 1.9.0 (#41230)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/wsjtx/versions.

These checks were done:

- built on NixOS
- Warning: no invocation of /nix/store/l4y2p3rynqjnvx6y4n4ir9zgm2p8bhym-wsjtx-1.9.0/bin/wsjtx had a zero exit code or showed the expected version
- /nix/store/l4y2p3rynqjnvx6y4n4ir9zgm2p8bhym-wsjtx-1.9.0/bin/udp_daemon passed the binary check.
- Warning: no invocation of /nix/store/l4y2p3rynqjnvx6y4n4ir9zgm2p8bhym-wsjtx-1.9.0/bin/message_aggregator had a zero exit code or showed the expected version
- /nix/store/l4y2p3rynqjnvx6y4n4ir9zgm2p8bhym-wsjtx-1.9.0/bin/jt9 passed the binary check.
- /nix/store/l4y2p3rynqjnvx6y4n4ir9zgm2p8bhym-wsjtx-1.9.0/bin/ft8code passed the binary check.
- /nix/store/l4y2p3rynqjnvx6y4n4ir9zgm2p8bhym-wsjtx-1.9.0/bin/jt65code passed the binary check.
- /nix/store/l4y2p3rynqjnvx6y4n4ir9zgm2p8bhym-wsjtx-1.9.0/bin/qra64code passed the binary check.
- /nix/store/l4y2p3rynqjnvx6y4n4ir9zgm2p8bhym-wsjtx-1.9.0/bin/qra64sim passed the binary check.
- /nix/store/l4y2p3rynqjnvx6y4n4ir9zgm2p8bhym-wsjtx-1.9.0/bin/jt9code passed the binary check.
- /nix/store/l4y2p3rynqjnvx6y4n4ir9zgm2p8bhym-wsjtx-1.9.0/bin/jt4code passed the binary check.
- /nix/store/l4y2p3rynqjnvx6y4n4ir9zgm2p8bhym-wsjtx-1.9.0/bin/msk144code passed the binary check.
- Warning: no invocation of /nix/store/l4y2p3rynqjnvx6y4n4ir9zgm2p8bhym-wsjtx-1.9.0/bin/wsprd had a zero exit code or showed the expected version
- /nix/store/l4y2p3rynqjnvx6y4n4ir9zgm2p8bhym-wsjtx-1.9.0/bin/wspr_fsk8d passed the binary check.
- Warning: no invocation of /nix/store/l4y2p3rynqjnvx6y4n4ir9zgm2p8bhym-wsjtx-1.9.0/bin/fmtave had a zero exit code or showed the expected version
- /nix/store/l4y2p3rynqjnvx6y4n4ir9zgm2p8bhym-wsjtx-1.9.0/bin/fcal passed the binary check.
- /nix/store/l4y2p3rynqjnvx6y4n4ir9zgm2p8bhym-wsjtx-1.9.0/bin/fmeasure passed the binary check.
- /nix/store/l4y2p3rynqjnvx6y4n4ir9zgm2p8bhym-wsjtx-1.9.0/bin/rigctl-wsjtx passed the binary check.
- /nix/store/l4y2p3rynqjnvx6y4n4ir9zgm2p8bhym-wsjtx-1.9.0/bin/rigctld-wsjtx passed the binary check.
- 14 of 18 passed binary check by having a zero exit code.
- 0 of 18 passed binary check by having the new version present in output.
- found 1.9.0 with grep in /nix/store/l4y2p3rynqjnvx6y4n4ir9zgm2p8bhym-wsjtx-1.9.0
- directory tree listing: https://gist.github.com/17cbff922de89906d061835dbd464639
- du listing: https://gist.github.com/3751165113207ba96fed9df78188a6e3
2018-06-01 23:03:58 +02:00

42 lines
1.7 KiB
Nix

{ stdenv, fetchurl, asciidoc, asciidoctor, autoconf, automake, cmake,
docbook_xsl, fftw, fftwFloat, gfortran, libtool, libpulseaudio, qtbase,
qtmultimedia, qtserialport, texinfo, libusb1 }:
stdenv.mkDerivation rec {
name = "wsjtx-${version}";
version = "1.9.0";
# This is a composite source tarball containing both wsjtx and a hamlib fork
src = fetchurl {
url = "http://physics.princeton.edu/pulsar/K1JT/wsjtx-${version}.tgz";
sha256 = "1qxwiylnykh37kw780hh9xfphzbj8ndpfqz4xazld16v3qx2g0jc";
};
# 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
texinfo
];
buildInputs = [ fftw fftwFloat libusb1 qtbase qtmultimedia qtserialport ];
# Composite build has its own patch step after it extracts the inner archives
postPatch = "cp ${./wsjtx.patch} wsjtx.patch";
meta = with stdenv.lib; {
description = "Weak-signal digital communication modes for amateur radio";
longDescription = ''
WSJT-X implements communication protocols or "modes" called 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 = http://physics.princeton.edu/pulsar/k1jt/wsjtx.html;
# Older licenses are for the statically-linked hamlib
license = with licenses; [ gpl3Plus gpl2Plus lgpl21Plus ];
platforms = platforms.linux;
maintainers = [ maintainers.lasandell ];
};
}