pythonPackages.bleak: 0.12.1 -> 0.13.0
This commit is contained in:
parent
c910eaa827
commit
580e53479a
1 changed files with 4 additions and 6 deletions
|
@ -4,20 +4,18 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "bleak";
|
pname = "bleak";
|
||||||
version = "0.12.1";
|
version = "0.13.0";
|
||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1va9138igcgbpsnzgr90qwprmhr9h8lryqslc22jxra4r56a502a";
|
sha256 = "1vnwk36qfws9amqrdaynf63dcj2gzxm0ns1l75hrczmd5j2ic1zb";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# bleak checks BlueZ's version with a call to `bluetoothctl -v` twice
|
# bleak checks BlueZ's version with a call to `bluetoothctl --version`
|
||||||
substituteInPlace bleak/__init__.py \
|
substituteInPlace bleak/backends/bluezdbus/__init__.py \
|
||||||
--replace \"bluetoothctl\" \"${bluez}/bin/bluetoothctl\"
|
|
||||||
substituteInPlace bleak/backends/bluezdbus/client.py \
|
|
||||||
--replace \"bluetoothctl\" \"${bluez}/bin/bluetoothctl\"
|
--replace \"bluetoothctl\" \"${bluez}/bin/bluetoothctl\"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue