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";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "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 ];
|
|
|
|
};
|
|
|
|
}
|