diff options
author | Ricky Elrod <ricky@elrod.me> | 2014-05-11 16:37:43 -0400 |
---|---|---|
committer | Ricky Elrod <ricky@elrod.me> | 2014-05-11 16:45:49 -0400 |
commit | 951ad60025ed5db1532bba0e01032c3b0f2c78d1 (patch) | |
tree | ee497b05bf3400adfeeb86d79c7944334ff82600 /pkgs/development/libraries/hamlib | |
parent | 36c6072b8c7300aec2c234c5825f154a65a1ed41 (diff) |
Package hamlib library
Signed-off-by: Ricky Elrod <ricky@elrod.me>
Diffstat (limited to 'pkgs/development/libraries/hamlib')
-rw-r--r-- | pkgs/development/libraries/hamlib/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/libraries/hamlib/default.nix b/pkgs/development/libraries/hamlib/default.nix new file mode 100644 index 0000000000000..495c7e99d4b2e --- /dev/null +++ b/pkgs/development/libraries/hamlib/default.nix @@ -0,0 +1,33 @@ +{stdenv, fetchurl, perl, python, swig, gd, libxml2, tcl, libusb, pkgconfig, + boost, libtool, perlPackages }: + +stdenv.mkDerivation rec { + name = "hamlib"; + version = "1.2.15.3"; + + src = fetchurl { + url = "mirror://sourceforge/${name}/${name}-${version}.tar.gz"; + sha256 = "0ppp6fc2h9d8p30j2s9wlqd620kmnny4wd8fc3jxd6gxwi4lbjm2"; + }; + + buildInputs = [ perl perlPackages.ExtUtilsMakeMaker python swig gd libxml2 + tcl libusb pkgconfig boost libtool ]; + + 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. + ''; + license = with stdenv.lib.licenses; [ gpl2Plus lgpl2Plus ]; + homepage = http://hamlib.sourceforge.net; + maintainers = with stdenv.lib.maintainers; [ relrod ]; + }; +} |