diff --git a/pkgs/development/python-modules/bleak/default.nix b/pkgs/development/python-modules/bleak/default.nix index d035e4133518..d159811efbcc 100644 --- a/pkgs/development/python-modules/bleak/default.nix +++ b/pkgs/development/python-modules/bleak/default.nix @@ -4,20 +4,18 @@ buildPythonPackage rec { pname = "bleak"; - version = "0.12.1"; + version = "0.13.0"; disabled = !isPy3k; src = fetchPypi { inherit pname version; - sha256 = "1va9138igcgbpsnzgr90qwprmhr9h8lryqslc22jxra4r56a502a"; + sha256 = "1vnwk36qfws9amqrdaynf63dcj2gzxm0ns1l75hrczmd5j2ic1zb"; }; postPatch = '' - # bleak checks BlueZ's version with a call to `bluetoothctl -v` twice - substituteInPlace bleak/__init__.py \ - --replace \"bluetoothctl\" \"${bluez}/bin/bluetoothctl\" - substituteInPlace bleak/backends/bluezdbus/client.py \ + # bleak checks BlueZ's version with a call to `bluetoothctl --version` + substituteInPlace bleak/backends/bluezdbus/__init__.py \ --replace \"bluetoothctl\" \"${bluez}/bin/bluetoothctl\" '';