1{ lib
2, buildPythonPackage
3, fetchPypi
4}:
5buildPythonPackage rec {
6 pname = "pure-python-adb-homeassistant";
7 version = "0.1.7.dev0";
8
9 src = fetchPypi {
10 inherit pname version;
11 hash = "sha256-xXXEp8oYGcJLTfoBDUSZrIHSgDvB2EHbVMHoG4Hk+t8=";
12 };
13
14 # Disable tests as they require docker, docker-compose and a dedicated
15 # android emulator
16 doCheck = false;
17
18 pythonImportsCheck = [ "adb_messenger" ];
19
20 meta = with lib; {
21 description = "Python implementation of the ADB client";
22 homepage = "https://github.com/JeffLIrion/pure-python-adb";
23 license = licenses.mit;
24 maintainers = [ maintainers.makefu ];
25 };
26}