hamlib*: pin to python 3.11 to fix build

They fail to build with 3.12.  distutils would be easy to provide,
but `imp` requires code changes (at a glance).
This commit is contained in:
Vladimír Čunát 2024-07-03 14:03:40 +02:00
parent 0983fe3e50
commit 513b3bf752
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
2 changed files with 8 additions and 4 deletions

View File

@ -5,7 +5,7 @@
, swig
, gd
, ncurses
, python3
, python311
, libxml2
, tcl
, libusb-compat-0_1
@ -17,7 +17,9 @@
, tclBindings ? true
, perlBindings ? true
}:
let
python3 = python311; # needs distutils and imp
in
stdenv.mkDerivation rec {
pname = "hamlib";
version = "4.5.5";

View File

@ -5,7 +5,7 @@
, swig
, gd
, ncurses
, python3
, python311
, libxml2
, tcl
, libusb-compat-0_1
@ -18,7 +18,9 @@
, perlBindings ? stdenv.buildPlatform == stdenv.hostPlatform
, buildPackages
}:
let
python3 = python311; # needs distutils and imp
in
stdenv.mkDerivation rec {
pname = "hamlib";
version = "3.3";