1 { lib, stdenv, cmake, pkg-config, fetchFromGitHub, makeDesktopItem, alsa-lib, speex
2 , libopus, curl, gsm, libgcrypt, libsigcxx, popt, qtbase, qttools
3 , wrapQtAppsHook, rtl-sdr, tcl, doxygen, groff }:
6 desktopItem = makeDesktopItem rec {
11 genericName = "EchoLink Client";
12 categories = [ "HamRadio" "Qt" "Network" ];
15 in stdenv.mkDerivation rec {
19 src = fetchFromGitHub {
23 sha256 = "sha256-riyFEuEmJ7+jYT3UoTTsMUwFdO3y5mjo4z0fcC3O8gY=";
27 "-DDO_INSTALL_CHOWN=NO"
28 "-DRTLSDR_LIBRARIES=${rtl-sdr}/lib/librtlsdr.so"
29 "-DRTLSDR_INCLUDE_DIRS=${rtl-sdr}/include"
32 dontWrapQtApps = true;
34 nativeBuildInputs = [ cmake pkg-config doxygen groff wrapQtAppsHook ];
52 rm -f $out/share/applications/*
53 cp -v ${desktopItem}/share/applications/* $out/share/applications
54 mv $out/share/icons/link.xpm $out/share/icons/qtel.xpm
56 wrapQtApp $out/bin/qtel
60 description = "Advanced repeater controller and EchoLink software";
62 Advanced repeater controller and EchoLink software for Linux including a
63 GUI, Qtel - The Qt EchoLink client
65 homepage = "http://www.svxlink.org/";
66 license = with licenses; [ gpl2 ];
67 maintainers = with maintainers; [ zaninime ];
68 platforms = platforms.linux;