hamlib_4: 4.6.2 -> 4.7.1

Update hamlib_4 to latest version for additional rig support.
This automatically propagates to packages using the hamlib library as a
dependency, allowing the usage of new hardware in said programs.

Additionally update repo source to github as org switched there as main
repository.

Release notes of v4.1.7: https://github.com/Hamlib/Hamlib/releases/tag/4.7.1
Full commit-log since v4.6.2: https://github.com/Hamlib/Hamlib/compare/4.6.2...4.7.1

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Fritz Stracke 2026-06-05 16:24:52 +02:00
commit 07feee855f
No known key found for this signature in database
GPG key ID: B8CA2D9AD8F0506F

View file

@ -1,9 +1,10 @@
{
lib,
stdenv,
fetchurl,
fetchFromGitHub,
perl,
swig,
autoreconfHook,
gd,
ncurses,
python311,
@ -23,11 +24,13 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "hamlib";
version = "4.6.2";
version = "4.7.1";
src = fetchurl {
url = "mirror://sourceforge/hamlib/hamlib-${finalAttrs.version}.tar.gz";
hash = "sha256-sqxz9E3RFh6V/e5slSdhRHV2R7+S1/2zae4v5B7Ueug=";
src = fetchFromGitHub {
owner = "Hamlib";
repo = "Hamlib";
tag = finalAttrs.version;
hash = "sha256-nI8gDACxlci2Q9V2W4D1DYDUL74JwlCs+qyyNkXOPu4=";
};
strictDeps = true;
@ -36,6 +39,7 @@ stdenv.mkDerivation (finalAttrs: {
swig
pkg-config
libtool
autoreconfHook
]
++ lib.optionals pythonBindings [ python3 ]
++ lib.optionals tclBindings [ tcl ]
@ -78,7 +82,10 @@ stdenv.mkDerivation (finalAttrs: {
lgpl2Plus
];
homepage = "https://hamlib.sourceforge.net";
maintainers = with lib.maintainers; [ relrod ];
maintainers = with lib.maintainers; [
relrod
fstracke
];
platforms = with lib.platforms; unix;
};
})