@@ -4,12 +4,12 @@
44
55stdenv.mkDerivation rec {
66 name = "wsjtx-${version}";
7− version = "1.9.1";
7+ version = "2.0.0";
88
9− # This is a composite source tarball containing both wsjtx and a hamlib fork
9+ # This is a "superbuild" tarball containing both wsjtx and a hamlib fork
1010 src = fetchurl {
11− url = "http://physics.princeton.edu/pulsar/K1JT/wsjtx-${version}.tgz";
12− sha256 = "143r17fri08mwz28g17wcfxy60h3xgfk46mln5lmdr9k6355aqqc";
11+ url = "http://physics.princeton.edu/pulsar/k1jt/wsjtx-${version}.tgz";
12+ sha256 = "66434f69f256742da1fe057ec51e4464cab2614f0bfb1a310c04a385b77bd014";
1313 };
1414
1515 # Hamlib builds with autotools, wsjtx builds with cmake
@@ -20,7 +20,10 @@ stdenv.mkDerivation rec {
2020 ];
2121 buildInputs = [ fftw fftwFloat libusb1 qtbase qtmultimedia qtserialport ];
2222
23− # Composite build has its own patch step after it extracts the inner archives
23+ # Remove Git dependency from superbuild since sources are included
24+ patches = [ ./super.patch ];
25+
26+ # Superbuild has its own patch step after it extracts the inner archives
2427 postPatch = "cp ${./wsjtx.patch} wsjtx.patch";
2528
2629 meta = with stdenv.lib; {