linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / libraries / hamlib / default.nix
blob98b494610057a7bbaab8ac3bcd9344a37be7591a
1 {lib, stdenv, fetchurl, perl, python2, swig, gd, libxml2, tcl, libusb-compat-0_1, pkg-config,
2  boost, libtool, perlPackages }:
4 stdenv.mkDerivation rec {
5   pname = "hamlib";
6   version = "3.3";
8   src = fetchurl {
9     url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
10     sha256 = "10788mgrhbc57zpzakcxv5aqnr2819pcshml6fbh8zvnkja562y9";
11   };
13   buildInputs = [ perl perlPackages.ExtUtilsMakeMaker python2 swig gd libxml2
14                   tcl libusb-compat-0_1 pkg-config boost libtool ];
16   configureFlags = [ "--with-perl-binding" "--with-python-binding"
17                      "--with-tcl-binding" "--with-rigmatrix" ];
19   meta = {
20     description = "Runtime library to control radio transceivers and receivers";
21     longDescription = ''
22     Hamlib provides a standardized programming interface that applications
23     can use to send the appropriate commands to a radio.
25     Also included in the package is a simple radio control program 'rigctl',
26     which lets one control a radio transceiver or receiver, either from
27     command line interface or in a text-oriented interactive interface.
28     '';
29     license = with lib.licenses; [ gpl2Plus lgpl2Plus ];
30     homepage = "http://hamlib.sourceforge.net";
31     maintainers = with lib.maintainers; [ relrod ];
32     platforms = with lib.platforms; unix;
33   };