mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
Package hamlib library
Signed-off-by: Ricky Elrod <ricky@elrod.me>
This commit is contained in:
parent
36c6072b8c
commit
951ad60025
2 changed files with 35 additions and 0 deletions
33
pkgs/development/libraries/hamlib/default.nix
Normal file
33
pkgs/development/libraries/hamlib/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -4717,6 +4717,8 @@ let
|
|||
|
||||
gwenhywfar = callPackage ../development/libraries/gwenhywfar { };
|
||||
|
||||
hamlib = callPackage ../development/libraries/hamlib { };
|
||||
|
||||
# TODO : Add MIT Kerberos and let admin choose.
|
||||
kerberos = heimdal;
|
||||
|
||||
|
|
Loading…
Reference in a new issue