summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pure-python-adb-homeassistant/default.nix
blob: ef1f99b95c39539874fc3db28c5d9e8eed682836 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
  lib,
  buildPythonPackage,
  fetchPypi,
}:
buildPythonPackage rec {
  pname = "pure-python-adb-homeassistant";
  version = "0.1.7.dev0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-xXXEp8oYGcJLTfoBDUSZrIHSgDvB2EHbVMHoG4Hk+t8=";
  };

  # Disable tests as they require docker, docker-compose and a dedicated
  # android emulator
  doCheck = false;

  pythonImportsCheck = [ "adb_messenger" ];

  meta = {
    description = "Python implementation of the ADB client";
    homepage = "https://github.com/JeffLIrion/pure-python-adb";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.makefu ];
  };
}