ffado: unpin python311

+15 -15
+15 -15
pkgs/os-specific/linux/ffado/default.nix
··· 12 12 libraw1394, 13 13 libxmlxx3, 14 14 pkg-config, 15 - python311, 15 + python3, 16 16 scons, 17 17 which, 18 18 withMixer ? false, ··· 20 20 }: 21 21 22 22 let 23 - python = 24 - if withMixer then 25 - python311.withPackages ( 26 - pkgs: with pkgs; [ 27 - pyqt5 28 - dbus-python 29 - ] 30 - ) 31 - else 32 - python311; 23 + python = python3.withPackages ( 24 + pkgs: 25 + with pkgs; 26 + ( 27 + [ 28 + distutils 29 + ] 30 + ++ lib.optionals withMixer [ 31 + pyqt5 32 + dbus-python 33 + ] 34 + ) 35 + ); 33 36 in 34 37 stdenv.mkDerivation rec { 35 38 pname = "ffado"; ··· 67 70 68 71 nativeBuildInputs = 69 72 [ 70 - (scons.override { 71 - # SConstruct script depends on distutils removed in Python 3.12 72 - python3Packages = python311.pythonOnBuildForHost.pkgs; 73 - }) 73 + scons 74 74 pkg-config 75 75 which 76 76 ]