pythonPackages.bleak: 0.10.0 -> 0.11.0
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
800a3dd909
commit
d94723cea3
|
@ -1,14 +1,16 @@
|
||||||
{ lib, buildPythonPackage, isPy3k, fetchPypi, bluez, txdbus, pytest, pytestcov }:
|
{ lib, buildPythonPackage, isPy3k, fetchPypi
|
||||||
|
, bluez, dbus-next, pytestCheckHook, pytest-cov
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "bleak";
|
pname = "bleak";
|
||||||
version = "0.10.0";
|
version = "0.11.0";
|
||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "5c3a873965f2910865895e572e7a4f10533d6e150e6ba17936397426bf8d1eee";
|
sha256 = "1zs5lz3r17a2xn19i4na132iccyjsl9navj0d3v7gks7hlcad5kp";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -19,10 +21,11 @@ buildPythonPackage rec {
|
||||||
--replace \"bluetoothctl\" \"${bluez}/bin/bluetoothctl\"
|
--replace \"bluetoothctl\" \"${bluez}/bin/bluetoothctl\"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [ txdbus ];
|
propagatedBuildInputs = [ dbus-next ];
|
||||||
checkInputs = [ pytest pytestcov ];
|
|
||||||
|
|
||||||
checkPhase = "AGENT_OS=linux py.test";
|
checkInputs = [ pytestCheckHook pytest-cov ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "bleak" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Bluetooth Low Energy platform Agnostic Klient for Python";
|
description = "Bluetooth Low Energy platform Agnostic Klient for Python";
|
||||||
|
|
Loading…
Reference in New Issue