python3Packages.pygatt: split off GATTTOOL extra

This commit is contained in:
Martin Weinelt
2022-04-12 04:04:07 +02:00
parent bf133c51ac
commit 3957a12e9d
@@ -22,15 +22,19 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
pexpect
pyserial
];
passthru.extras-require.GATTTOOL = [
pexpect
];
checkInputs = [
mock
nose
pytestCheckHook
];
]
++ passthru.extras-require.GATTTOOL;
postPatch = ''
# Not support for Python < 3.4