git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.bleak: 0.10.0 -> 0.11.0

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

commitd94723cea3d85f25508172e26b00827e07b538af authorAlvar Penning <post@0x21.biz> dateThu 18 Mar 2021, 11:30 (6 years ago) parent800a3dd
1 file changed+9−6
pkgs/development/python-modules/bleak/default.nix+9−6
pkgs/development/python-modules/bleak/default.nix+9−6
@@ -1,14 +1,16 @@
1−{ lib, buildPythonPackage, isPy3k, fetchPypi, bluez, txdbus, pytest, pytestcov }:
1+{ lib, buildPythonPackage, isPy3k, fetchPypi
2+, bluez, dbus-next, pytestCheckHook, pytest-cov
3+}:
24
35buildPythonPackage rec {
46 pname = "bleak";
5− version = "0.10.0";
7+ version = "0.11.0";
68
79 disabled = !isPy3k;
810
911 src = fetchPypi {
1012 inherit pname version;
11− sha256 = "5c3a873965f2910865895e572e7a4f10533d6e150e6ba17936397426bf8d1eee";
13+ sha256 = "1zs5lz3r17a2xn19i4na132iccyjsl9navj0d3v7gks7hlcad5kp";
1214 };
1315
1416 postPatch = ''
@@ -19,10 +21,11 @@ buildPythonPackage rec {
1921 --replace \"bluetoothctl\" \"${bluez}/bin/bluetoothctl\"
2022 '';
2123
22− propagatedBuildInputs = [ txdbus ];
23− checkInputs = [ pytest pytestcov ];
24+ propagatedBuildInputs = [ dbus-next ];
2425
25− checkPhase = "AGENT_OS=linux py.test";
26+ checkInputs = [ pytestCheckHook pytest-cov ];
27+
28+ pythonImportsCheck = [ "bleak" ];
2629
2730 meta = with lib; {
2831 description = "Bluetooth Low Energy platform Agnostic Klient for Python";