9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
35 lines
1.3 KiB
Nix
35 lines
1.3 KiB
Nix
{stdenv, fetchurl, perl, python2, swig, gd, libxml2, tcl, libusb-compat-0_1, pkg-config,
|
|
boost, libtool, perlPackages }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "hamlib";
|
|
version = "3.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
|
|
sha256 = "10788mgrhbc57zpzakcxv5aqnr2819pcshml6fbh8zvnkja562y9";
|
|
};
|
|
|
|
buildInputs = [ perl perlPackages.ExtUtilsMakeMaker python2 swig gd libxml2
|
|
tcl libusb-compat-0_1 pkg-config 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;
|
|
};
|
|
}
|