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