git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #116731 from oxzi/bleak-0.11.0

pythonPackages.bleak: 0.10.0 -> 0.11.0

commitf1fe32d3facdc8aa5685e364ff9cb26ff24565f3 authorSandro <sandro.jaeckel@gmail.com> dateThu 18 Mar 2021, 15:58 (6 years ago) parent2af233ad94723c
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";