Merge pull request #129950 from hexagonal-sun/hamlib-bump
hamlib: 3.3 -> 4.2
This commit is contained in:
commit
dd2233fe6a
64
pkgs/development/libraries/hamlib/4.nix
Normal file
64
pkgs/development/libraries/hamlib/4.nix
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, perl
|
||||||
|
, swig
|
||||||
|
, gd
|
||||||
|
, ncurses
|
||||||
|
, python3
|
||||||
|
, libxml2
|
||||||
|
, tcl
|
||||||
|
, libusb-compat-0_1
|
||||||
|
, pkg-config
|
||||||
|
, boost
|
||||||
|
, libtool
|
||||||
|
, perlPackages
|
||||||
|
, pythonBindings ? true
|
||||||
|
, tclBindings ? true
|
||||||
|
, perlBindings ? true
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "hamlib";
|
||||||
|
version = "4.2";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
|
||||||
|
sha256 = "1m8gb20i8ga6ndnnw187ry1h4z8wx27v1hl7c610r6ky60pv4072";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
swig
|
||||||
|
pkg-config
|
||||||
|
libtool
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
gd
|
||||||
|
libxml2
|
||||||
|
libusb-compat-0_1
|
||||||
|
boost
|
||||||
|
] ++ lib.optionals pythonBindings [ python3 ncurses ]
|
||||||
|
++ lib.optionals tclBindings [ tcl ]
|
||||||
|
++ lib.optionals perlBindings [ perl perlPackages.ExtUtilsMakeMaker ];
|
||||||
|
|
||||||
|
configureFlags = lib.optionals perlBindings [ "--with-perl-binding" ]
|
||||||
|
++ lib.optionals tclBindings [ "--with-tcl-binding" "--with-tcl=${tcl}/lib/" ]
|
||||||
|
++ lib.optionals pythonBindings [ "--with-python-binding" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
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 licenses; [ gpl2Plus lgpl2Plus ];
|
||||||
|
homepage = "http://hamlib.sourceforge.net";
|
||||||
|
maintainers = with maintainers; [ relrod ];
|
||||||
|
platforms = with platforms; unix;
|
||||||
|
};
|
||||||
|
}
|
@ -1,5 +1,22 @@
|
|||||||
{lib, stdenv, fetchurl, perl, python2, swig, gd, libxml2, tcl, libusb-compat-0_1, pkg-config,
|
{ lib
|
||||||
boost, libtool, perlPackages }:
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, perl
|
||||||
|
, swig
|
||||||
|
, gd
|
||||||
|
, ncurses
|
||||||
|
, python3
|
||||||
|
, libxml2
|
||||||
|
, tcl
|
||||||
|
, libusb-compat-0_1
|
||||||
|
, pkg-config
|
||||||
|
, boost
|
||||||
|
, libtool
|
||||||
|
, perlPackages
|
||||||
|
, pythonBindings ? true
|
||||||
|
, tclBindings ? true
|
||||||
|
, perlBindings ? true
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "hamlib";
|
pname = "hamlib";
|
||||||
@ -10,13 +27,26 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "10788mgrhbc57zpzakcxv5aqnr2819pcshml6fbh8zvnkja562y9";
|
sha256 = "10788mgrhbc57zpzakcxv5aqnr2819pcshml6fbh8zvnkja562y9";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ perl perlPackages.ExtUtilsMakeMaker python2 swig gd libxml2
|
nativeBuildInputs = [
|
||||||
tcl libusb-compat-0_1 pkg-config boost libtool ];
|
swig
|
||||||
|
pkg-config
|
||||||
|
libtool
|
||||||
|
];
|
||||||
|
|
||||||
configureFlags = [ "--with-perl-binding" "--with-python-binding"
|
buildInputs = [
|
||||||
"--with-tcl-binding" "--with-rigmatrix" ];
|
gd
|
||||||
|
libxml2
|
||||||
|
libusb-compat-0_1
|
||||||
|
boost
|
||||||
|
] ++ lib.optionals pythonBindings [ python3 ncurses ]
|
||||||
|
++ lib.optionals tclBindings [ tcl ]
|
||||||
|
++ lib.optionals perlBindings [ perl perlPackages.ExtUtilsMakeMaker ];
|
||||||
|
|
||||||
meta = {
|
configureFlags = lib.optionals perlBindings [ "--with-perl-binding" ]
|
||||||
|
++ lib.optionals tclBindings [ "--with-tcl-binding" "--with-tcl=${tcl}/lib/" ]
|
||||||
|
++ lib.optionals pythonBindings [ "--with-python-binding" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
description = "Runtime library to control radio transceivers and receivers";
|
description = "Runtime library to control radio transceivers and receivers";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Hamlib provides a standardized programming interface that applications
|
Hamlib provides a standardized programming interface that applications
|
||||||
@ -26,9 +56,9 @@ stdenv.mkDerivation rec {
|
|||||||
which lets one control a radio transceiver or receiver, either from
|
which lets one control a radio transceiver or receiver, either from
|
||||||
command line interface or in a text-oriented interactive interface.
|
command line interface or in a text-oriented interactive interface.
|
||||||
'';
|
'';
|
||||||
license = with lib.licenses; [ gpl2Plus lgpl2Plus ];
|
license = with licenses; [ gpl2Plus lgpl2Plus ];
|
||||||
homepage = "http://hamlib.sourceforge.net";
|
homepage = "http://hamlib.sourceforge.net";
|
||||||
maintainers = with lib.maintainers; [ relrod ];
|
maintainers = with maintainers; [ relrod ];
|
||||||
platforms = with lib.platforms; unix;
|
platforms = with platforms; unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -5509,7 +5509,9 @@ in
|
|||||||
|
|
||||||
gpp = callPackage ../development/tools/gpp { };
|
gpp = callPackage ../development/tools/gpp { };
|
||||||
|
|
||||||
gpredict = callPackage ../applications/science/astronomy/gpredict { };
|
gpredict = callPackage ../applications/science/astronomy/gpredict {
|
||||||
|
hamlib = hamlib_4;
|
||||||
|
};
|
||||||
|
|
||||||
gptfdisk = callPackage ../tools/system/gptfdisk { };
|
gptfdisk = callPackage ../tools/system/gptfdisk { };
|
||||||
|
|
||||||
@ -15762,7 +15764,9 @@ in
|
|||||||
|
|
||||||
gwenhywfar = callPackage ../development/libraries/aqbanking/gwenhywfar.nix { };
|
gwenhywfar = callPackage ../development/libraries/aqbanking/gwenhywfar.nix { };
|
||||||
|
|
||||||
hamlib = callPackage ../development/libraries/hamlib { };
|
hamlib = hamlib_3;
|
||||||
|
hamlib_3 = callPackage ../development/libraries/hamlib { };
|
||||||
|
hamlib_4 = callPackage ../development/libraries/hamlib/4.nix { };
|
||||||
|
|
||||||
heimdal = callPackage ../development/libraries/kerberos/heimdal.nix {
|
heimdal = callPackage ../development/libraries/kerberos/heimdal.nix {
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security SystemConfiguration;
|
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security SystemConfiguration;
|
||||||
@ -23517,7 +23521,9 @@ in
|
|||||||
python3Packages = python37Packages;
|
python3Packages = python37Packages;
|
||||||
};
|
};
|
||||||
|
|
||||||
cqrlog = callPackage ../applications/radio/cqrlog { };
|
cqrlog = callPackage ../applications/radio/cqrlog {
|
||||||
|
hamlib = hamlib_4;
|
||||||
|
};
|
||||||
|
|
||||||
crun = callPackage ../applications/virtualization/crun {};
|
crun = callPackage ../applications/virtualization/crun {};
|
||||||
|
|
||||||
@ -23596,7 +23602,9 @@ in
|
|||||||
inherit (pkgs.gnome2) libart_lgpl libgnomeui;
|
inherit (pkgs.gnome2) libart_lgpl libgnomeui;
|
||||||
};
|
};
|
||||||
|
|
||||||
direwolf = callPackage ../applications/radio/direwolf { };
|
direwolf = callPackage ../applications/radio/direwolf {
|
||||||
|
hamlib = hamlib_4;
|
||||||
|
};
|
||||||
|
|
||||||
dirt = callPackage ../applications/audio/dirt {};
|
dirt = callPackage ../applications/audio/dirt {};
|
||||||
|
|
||||||
@ -23928,7 +23936,9 @@ in
|
|||||||
|
|
||||||
flexget = callPackage ../applications/networking/flexget { };
|
flexget = callPackage ../applications/networking/flexget { };
|
||||||
|
|
||||||
fldigi = callPackage ../applications/radio/fldigi { };
|
fldigi = callPackage ../applications/radio/fldigi {
|
||||||
|
hamlib = hamlib_4;
|
||||||
|
};
|
||||||
|
|
||||||
flink = callPackage ../applications/networking/cluster/flink { };
|
flink = callPackage ../applications/networking/cluster/flink { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user