diff options
Diffstat (limited to 'pkgs/applications/radio')
-rw-r--r-- | pkgs/applications/radio/ebook2cw/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/radio/tqsl/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/radio/wsjtx/default.nix | 28 | ||||
-rw-r--r-- | pkgs/applications/radio/wsjtx/super.patch | 12 |
4 files changed, 13 insertions, 31 deletions
diff --git a/pkgs/applications/radio/ebook2cw/default.nix b/pkgs/applications/radio/ebook2cw/default.nix index 6c3fbc16c4055..329d87d80f4c0 100644 --- a/pkgs/applications/radio/ebook2cw/default.nix +++ b/pkgs/applications/radio/ebook2cw/default.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Convert ebooks to Morse MP3s/OGGs"; - homepage = "http://fkurz.net/ham/ebook2cw.html"; + homepage = "https://fkurz.net/ham/ebook2cw.html"; license = licenses.gpl2; platforms = platforms.all; maintainers = with maintainers; [ earldouglas ]; diff --git a/pkgs/applications/radio/tqsl/default.nix b/pkgs/applications/radio/tqsl/default.nix index 085706658afff..a207ba2f14681 100644 --- a/pkgs/applications/radio/tqsl/default.nix +++ b/pkgs/applications/radio/tqsl/default.nix @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { openssl zlib lmdb - (curl.override { inherit openssl; }) + curl wxGTK32 ]; diff --git a/pkgs/applications/radio/wsjtx/default.nix b/pkgs/applications/radio/wsjtx/default.nix index 00cc0eaca1292..23fb34db0e320 100644 --- a/pkgs/applications/radio/wsjtx/default.nix +++ b/pkgs/applications/radio/wsjtx/default.nix @@ -1,27 +1,22 @@ -{ lib, stdenv, fetchurl, asciidoc, asciidoctor, autoconf, automake, cmake, - docbook_xsl, fftw, fftwFloat, gfortran, libtool, libusb1, qtbase, +{ lib, stdenv, fetchgit, asciidoc, asciidoctor, cmake, pkg-config, + fftw, fftwFloat, gfortran, hamlib_4, libtool, libusb1, qtbase, qtmultimedia, qtserialport, qttools, boost, texinfo, wrapQtAppsHook }: stdenv.mkDerivation rec { pname = "wsjtx"; version = "2.6.1"; - # This is a "superbuild" tarball containing both wsjtx and a hamlib fork - src = fetchurl { - url = "https://sourceforge.net/projects/wsjt/files/wsjtx-${version}/wsjtx-${version}.tgz"; - sha256 = "sha256-YNDiy0WkmmrVhbCQiCGp/yw6wlZNYQQmIP82wt3Mdl8="; + src = fetchgit { + url = "http://git.code.sf.net/p/wsjt/wsjtx"; + rev = "wsjtx-${version}"; + hash = "sha256-fELx3B9JqCCL5vaIHab3of5ah9qdu5lemqjUnvY5DdM="; }; - # Hamlib builds with autotools, wsjtx builds with cmake - # Omitting pkg-config because it causes issues locating the built hamlib nativeBuildInputs = [ - asciidoc asciidoctor autoconf automake cmake docbook_xsl gfortran libtool - qttools texinfo wrapQtAppsHook + asciidoc asciidoctor cmake gfortran libtool + pkg-config qttools texinfo wrapQtAppsHook ]; - buildInputs = [ fftw fftwFloat libusb1 qtbase qtmultimedia qtserialport boost ]; - - # Remove Git dependency from superbuild since sources are included - patches = [ ./super.patch ]; + buildInputs = [ fftw fftwFloat hamlib_4 libusb1 qtbase qtmultimedia qtserialport boost ]; meta = with lib; { description = "Weak-signal digital communication modes for amateur radio"; @@ -33,9 +28,8 @@ stdenv.mkDerivation rec { 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 ]; + license = with licenses; [ gpl3Plus ]; platforms = platforms.linux; - maintainers = with maintainers; [ lasandell numinit ]; + maintainers = with maintainers; [ lasandell numinit melling ]; }; } diff --git a/pkgs/applications/radio/wsjtx/super.patch b/pkgs/applications/radio/wsjtx/super.patch deleted file mode 100644 index 2d72fcddf0dcc..0000000000000 --- a/pkgs/applications/radio/wsjtx/super.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 84fa38a..87e31bb 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -24,7 +24,6 @@ source tarball." ) - # - # Find_library (USB_LIBRARY NAMES libusb.a usb) - Find_program (PATCH_EXECUTABLE patch REQUIRED) --Find_package (Git REQUIRED) - - # - # extra C flags to minimize hamlib excutable sizes |