about summary refs log tree commit diff
path: root/pkgs/development/libraries/hamlib/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/hamlib/default.nix')
-rw-r--r--pkgs/development/libraries/hamlib/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/libraries/hamlib/default.nix b/pkgs/development/libraries/hamlib/default.nix
index 9250a66c219e2..2089050552e7e 100644
--- a/pkgs/development/libraries/hamlib/default.nix
+++ b/pkgs/development/libraries/hamlib/default.nix
@@ -5,20 +5,21 @@
 , swig
 , gd
 , ncurses
-, python3
+, python311
 , libxml2
 , tcl
 , libusb-compat-0_1
 , pkg-config
 , boost
 , libtool
-, perlPackages
 , pythonBindings ? true
 , tclBindings ? true
 , perlBindings ? stdenv.buildPlatform == stdenv.hostPlatform
 , buildPackages
 }:
-
+let
+  python3 = python311; # needs distutils and imp
+in
 stdenv.mkDerivation rec {
   pname = "hamlib";
   version = "3.3";