mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
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:
parent
0983fe3e50
commit
513b3bf752
@ -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";
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user