fdbd53e97c
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/hamlib/versions. These checks were done: - built on NixOS - ran ‘/nix/store/aa53dqx342j0ix0dxhkcmp5sqcjvggnp-hamlib-3.2/bin/rigctl -h’ got 0 exit code - ran ‘/nix/store/aa53dqx342j0ix0dxhkcmp5sqcjvggnp-hamlib-3.2/bin/rigctl --help’ got 0 exit code - ran ‘/nix/store/aa53dqx342j0ix0dxhkcmp5sqcjvggnp-hamlib-3.2/bin/rigctl help’ got 0 exit code - ran ‘/nix/store/aa53dqx342j0ix0dxhkcmp5sqcjvggnp-hamlib-3.2/bin/rigctld -h’ got 0 exit code - ran ‘/nix/store/aa53dqx342j0ix0dxhkcmp5sqcjvggnp-hamlib-3.2/bin/rigctld --help’ got 0 exit code - ran ‘/nix/store/aa53dqx342j0ix0dxhkcmp5sqcjvggnp-hamlib-3.2/bin/rigmem -h’ got 0 exit code - ran ‘/nix/store/aa53dqx342j0ix0dxhkcmp5sqcjvggnp-hamlib-3.2/bin/rigmem --help’ got 0 exit code - ran ‘/nix/store/aa53dqx342j0ix0dxhkcmp5sqcjvggnp-hamlib-3.2/bin/rigsmtr -h’ got 0 exit code - ran ‘/nix/store/aa53dqx342j0ix0dxhkcmp5sqcjvggnp-hamlib-3.2/bin/rigsmtr --help’ got 0 exit code - ran ‘/nix/store/aa53dqx342j0ix0dxhkcmp5sqcjvggnp-hamlib-3.2/bin/rigswr -h’ got 0 exit code - ran ‘/nix/store/aa53dqx342j0ix0dxhkcmp5sqcjvggnp-hamlib-3.2/bin/rigswr --help’ got 0 exit code - ran ‘/nix/store/aa53dqx342j0ix0dxhkcmp5sqcjvggnp-hamlib-3.2/bin/rotctl -h’ got 0 exit code - ran ‘/nix/store/aa53dqx342j0ix0dxhkcmp5sqcjvggnp-hamlib-3.2/bin/rotctl --help’ got 0 exit code - ran ‘/nix/store/aa53dqx342j0ix0dxhkcmp5sqcjvggnp-hamlib-3.2/bin/rotctl help’ got 0 exit code - ran ‘/nix/store/aa53dqx342j0ix0dxhkcmp5sqcjvggnp-hamlib-3.2/bin/rotctld -h’ got 0 exit code - ran ‘/nix/store/aa53dqx342j0ix0dxhkcmp5sqcjvggnp-hamlib-3.2/bin/rotctld --help’ got 0 exit code - found 3.2 with grep in /nix/store/aa53dqx342j0ix0dxhkcmp5sqcjvggnp-hamlib-3.2 - directory tree listing: https://gist.github.com/af20bb24f2d2a1b901f88663a7966181
36 lines
1.3 KiB
Nix
36 lines
1.3 KiB
Nix
{stdenv, fetchurl, perl, python2, swig, gd, libxml2, tcl, libusb, pkgconfig,
|
|
boost, libtool, perlPackages }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "hamlib";
|
|
version = "3.2";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/${pname}/${name}.tar.gz";
|
|
sha256 = "07ddsykbliiv0p717z1h5vzmvsx6lm75j32rhvmwqxp8m3kbap5m";
|
|
};
|
|
|
|
buildInputs = [ perl perlPackages.ExtUtilsMakeMaker python2 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 ];
|
|
platforms = with stdenv.lib.platforms; unix;
|
|
};
|
|
}
|