From 580e53479ac07bd4165989a372a51ea1dbfdb2f3 Mon Sep 17 00:00:00 2001 From: Alvar Penning Date: Mon, 8 Nov 2021 10:56:56 +0100 Subject: [PATCH] pythonPackages.bleak: 0.12.1 -> 0.13.0 --- pkgs/development/python-modules/bleak/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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\" '';