lol

python311Packages.bleak: fix bluetoothctl substitution

+6 -6
+6 -6
pkgs/development/python-modules/bleak/default.nix
··· 25 25 hash = "sha256-T0im8zKyNLbskAEDeUUFS/daJtvttlHlttjscqP8iSk="; 26 26 }; 27 27 28 + postPatch = '' 29 + # bleak checks BlueZ's version with a call to `bluetoothctl --version` 30 + substituteInPlace bleak/backends/bluezdbus/version.py \ 31 + --replace \"bluetoothctl\" \"${bluez}/bin/bluetoothctl\" 32 + ''; 33 + 28 34 nativeBuildInputs = [ 29 35 poetry-core 30 36 ]; ··· 39 45 pytest-asyncio 40 46 pytestCheckHook 41 47 ]; 42 - 43 - postPatch = '' 44 - # bleak checks BlueZ's version with a call to `bluetoothctl --version` 45 - substituteInPlace bleak/backends/bluezdbus/__init__.py \ 46 - --replace \"bluetoothctl\" \"${bluez}/bin/bluetoothctl\" 47 - ''; 48 48 49 49 pythonImportsCheck = [ 50 50 "bleak"