10 buildPythonPackage rec {
11 pname = "pure-python-adb";
12 version = "0.3.0.dev0";
13 format = "setuptools";
15 disabled = pythonOlder "3.6";
18 inherit pname version;
19 sha256 = "0kdr7w2fhgjpcf1k3l6an9im583iqkr6v8hb4q1zw30nh3bqkk0f";
22 optional-dependencies = {
26 doCheck = pythonOlder "3.10"; # all tests result in RuntimeError on 3.10
28 nativeCheckInputs = [ pytestCheckHook ] ++ optional-dependencies.async;
30 pythonImportsCheck = [ "ppadb.client" ] ++ lib.optionals doCheck [ "ppadb.client_async" ];
33 description = "Pure python implementation of the adb client";
34 homepage = "https://github.com/Swind/pure-python-adb";
35 license = licenses.mit;
36 maintainers = with maintainers; [ jamiemagee ];