2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, autoconf, automake, pkgconfig, glib
|
2019-09-18 19:57:20 +02:00
|
|
|
, perl, ncurses5, hamlib, xmlrpc_c }:
|
2019-02-10 12:53:05 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tlf";
|
2020-05-04 11:58:09 +02:00
|
|
|
version = "1.4.1";
|
2019-02-10 12:53:05 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
|
|
|
rev = "${pname}-${version}";
|
2020-05-04 11:58:09 +02:00
|
|
|
sha256 = "1xpgs4k27pjd9mianfknknp6mf34365bcp96wrv5xh4dhph573rj";
|
2019-02-10 12:53:05 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook autoconf automake pkgconfig perl ];
|
2019-09-18 19:57:20 +02:00
|
|
|
buildInputs = [ glib ncurses5 hamlib xmlrpc_c ];
|
2019-02-10 12:53:05 +01:00
|
|
|
|
|
|
|
configureFlags = [ "--enable-hamlib" "--enable-fldigi-xmlrpc" ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $out/lib
|
2019-09-18 19:57:20 +02:00
|
|
|
ln -s ${ncurses5.out}/lib/libtinfo.so.5 $out/lib/libtinfo.so.5
|
2019-02-10 12:53:05 +01:00
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-02-10 12:53:05 +01:00
|
|
|
description = "Advanced ham radio logging and contest program";
|
|
|
|
longDescription = ''
|
|
|
|
TLF is a curses based console mode general logging and contest program for
|
|
|
|
amateur radio.
|
|
|
|
|
|
|
|
It supports the CQWW, the WPX, the ARRL-DX, the ARRL-FD, the PACC and the
|
|
|
|
EU SPRINT shortwave contests (single operator) as well as a LOT MORE basic
|
|
|
|
contests, general QSO and DXpedition mode.
|
|
|
|
'';
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://tlf.github.io/";
|
2019-02-10 12:53:05 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ etu ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|