1{ aiofiles, buildPythonPackage, fetchPypi, lib, pythonOlder }: 2 3buildPythonPackage rec { 4 pname = "pure-python-adb"; 5 version = "0.3.0.dev0"; 6 7 disabled = pythonOlder "3.6"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "0kdr7w2fhgjpcf1k3l6an9im583iqkr6v8hb4q1zw30nh3bqkk0f"; 12 }; 13 14 propagatedBuildInputs = [ aiofiles ]; 15 # Disable tests as they require docker, docker-compose and a dedicated 16 # android emulator 17 doCheck = false; 18 pythonImportsCheck = [ "ppadb.client" "ppadb.client_async" ]; 19 20 meta = with lib; { 21 description = "Pure python implementation of the adb client"; 22 homepage = "https://github.com/Swind/pure-python-adb"; 23 license = licenses.mit; 24 maintainers = with maintainers; [ jamiemagee ]; 25 }; 26}