nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.09 34 lines 1.3 kB view raw
1{stdenv, fetchurl, perl, python2, swig, gd, libxml2, tcl, libusb-compat-0_1, pkgconfig, 2 boost, libtool, perlPackages }: 3 4stdenv.mkDerivation rec { 5 pname = "hamlib"; 6 version = "3.3"; 7 8 src = fetchurl { 9 url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz"; 10 sha256 = "10788mgrhbc57zpzakcxv5aqnr2819pcshml6fbh8zvnkja562y9"; 11 }; 12 13 buildInputs = [ perl perlPackages.ExtUtilsMakeMaker python2 swig gd libxml2 14 tcl libusb-compat-0_1 pkgconfig boost libtool ]; 15 16 configureFlags = [ "--with-perl-binding" "--with-python-binding" 17 "--with-tcl-binding" "--with-rigmatrix" ]; 18 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. 24 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 stdenv.lib.licenses; [ gpl2Plus lgpl2Plus ]; 30 homepage = "http://hamlib.sourceforge.net"; 31 maintainers = with stdenv.lib.maintainers; [ relrod ]; 32 platforms = with stdenv.lib.platforms; unix; 33 }; 34}