about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pure-python-adb-homeassistant/default.nix
blob: 8e40d182212dcf3eb506b032d08e8bb2bec1f013 (plain) (blame)
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
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
  pname = "pure-python-adb-homeassistant";
  version = "0.1.7.dev0";

  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 = with lib; {
    description = "Python implementation of the ADB client";
    homepage = "https://github.com/JeffLIrion/pure-python-adb";
    license = licenses.mit;
    maintainers = [ maintainers.makefu ];
  };
}