12 buildPythonPackage rec {
15 disabled = pythonOlder "3.5";
17 src = fetchFromGitHub {
21 sha256 = "1zdfxidiw0l8n498sy0l33n90lz49n25x889cx6jamjr7frlcihd";
24 propagatedBuildInputs = [
28 passthru.optional-dependencies.GATTTOOL = [
37 ++ passthru.optional-dependencies.GATTTOOL;
40 # Not support for Python < 3.4
41 substituteInPlace setup.py --replace "'enum-compat'" ""
44 pythonImportsCheck = [ "pygatt" ];
47 description = "Python wrapper the BGAPI for accessing Bluetooth LE Devices";
48 homepage = "https://github.com/peplin/pygatt";
49 license = with licenses; [ asl20 mit ];
50 maintainers = with maintainers; [ fab ];