2021-01-21 18:00:13 +01:00
|
|
|
{lib, stdenv, fetchurl, perl, python2, swig, gd, libxml2, tcl, libusb-compat-0_1, pkg-config,
|
2014-05-11 22:37:43 +02:00
|
|
|
boost, libtool, perlPackages }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-05-12 00:16:11 +02:00
|
|
|
pname = "hamlib";
|
2018-08-24 13:29:13 +02:00
|
|
|
version = "3.3";
|
2014-05-11 22:37:43 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
|
2018-08-24 13:29:13 +02:00
|
|
|
sha256 = "10788mgrhbc57zpzakcxv5aqnr2819pcshml6fbh8zvnkja562y9";
|
2014-05-11 22:37:43 +02:00
|
|
|
};
|
|
|
|
|
2017-02-10 09:30:24 +01:00
|
|
|
buildInputs = [ perl perlPackages.ExtUtilsMakeMaker python2 swig gd libxml2
|
2021-01-19 07:50:56 +01:00
|
|
|
tcl libusb-compat-0_1 pkg-config boost libtool ];
|
2014-05-11 22:37:43 +02:00
|
|
|
|
|
|
|
configureFlags = [ "--with-perl-binding" "--with-python-binding"
|
|
|
|
"--with-tcl-binding" "--with-rigmatrix" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Runtime library to control radio transceivers and receivers";
|
|
|
|
longDescription = ''
|
|
|
|
Hamlib provides a standardized programming interface that applications
|
|
|
|
can use to send the appropriate commands to a radio.
|
|
|
|
|
|
|
|
Also included in the package is a simple radio control program 'rigctl',
|
|
|
|
which lets one control a radio transceiver or receiver, either from
|
|
|
|
command line interface or in a text-oriented interactive interface.
|
|
|
|
'';
|
2021-01-21 18:00:13 +01:00
|
|
|
license = with lib.licenses; [ gpl2Plus lgpl2Plus ];
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://hamlib.sourceforge.net";
|
2021-01-21 18:00:13 +01:00
|
|
|
maintainers = with lib.maintainers; [ relrod ];
|
|
|
|
platforms = with lib.platforms; unix;
|
2014-05-11 22:37:43 +02:00
|
|
|
};
|
|
|
|
}
|