diff options
author | Vladimír Čunát <v@cunat.cz> | 2024-07-03 14:03:40 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2024-07-03 14:05:33 +0200 |
commit | 513b3bf752989e5a05ae903ea1da08d2ddf3e72a (patch) | |
tree | 1f66d543a0d4c48bacd07f3149356e69834e5185 /pkgs/development/libraries/hamlib | |
parent | 0983fe3e5045b4dd4909088cd848b4cda375260e (diff) |
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).
Diffstat (limited to 'pkgs/development/libraries/hamlib')
-rw-r--r-- | pkgs/development/libraries/hamlib/4.nix | 6 | ||||
-rw-r--r-- | pkgs/development/libraries/hamlib/default.nix | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/development/libraries/hamlib/4.nix b/pkgs/development/libraries/hamlib/4.nix index 8fde56729e837..168a0477b2f84 100644 --- a/pkgs/development/libraries/hamlib/4.nix +++ b/pkgs/development/libraries/hamlib/4.nix @@ -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"; diff --git a/pkgs/development/libraries/hamlib/default.nix b/pkgs/development/libraries/hamlib/default.nix index 9250a66c219e2..2b7f05bcdef0a 100644 --- a/pkgs/development/libraries/hamlib/default.nix +++ b/pkgs/development/libraries/hamlib/default.nix @@ -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"; |