2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pure-python-adb-homeassistant";
|
2021-07-16 19:40:57 +00:00
|
|
|
version = "0.1.7.dev0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-07-16 19:40:57 +00:00
|
|
|
sha256 = "sha256-xXXEp8oYGcJLTfoBDUSZrIHSgDvB2EHbVMHoG4Hk+t8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Disable tests as they require docker, docker-compose and a dedicated
|
|
|
|
# android emulator
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-07-16 19:40:57 +00:00
|
|
|
pythonImportsCheck = [ "adb_messenger" ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
2021-07-16 19:40:57 +00:00
|
|
|
description = "Python implementation of the ADB client";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/JeffLIrion/pure-python-adb";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.makefu ];
|
|
|
|
};
|
|
|
|
}
|