15 buildPythonPackage rec {
20 disabled = pythonOlder "3.8";
22 src = fetchFromGitHub {
25 rev = "refs/tags/v${version}";
26 hash = "sha256-kPeKQcJETZE6+btQsmCgb37yRI2Klg0lZ1ZIrm8ODow=";
30 # bleak checks BlueZ's version with a call to `bluetoothctl --version`
31 substituteInPlace bleak/backends/bluezdbus/version.py \
32 --replace \"bluetoothctl\" \"${bluez}/bin/bluetoothctl\"
35 nativeBuildInputs = [ poetry-core ];
37 propagatedBuildInputs = [
48 pythonImportsCheck = [ "bleak" ];
51 description = "Bluetooth Low Energy platform agnostic client";
52 homepage = "https://github.com/hbldh/bleak";
53 changelog = "https://github.com/hbldh/bleak/blob/v${version}/CHANGELOG.rst";
54 license = licenses.mit;
55 platforms = platforms.linux;
56 maintainers = with maintainers; [ oxzi ];