summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/ham/androidtv/adbshell.nix
blob: f5b96c859d92a4c94b97105198497d560fb85bdc (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
29
30
31
32
33
34
35
36
37
38
{ lib
, buildPythonPackage
, fetchPypi
, cryptography
, pyasn1
, rsa
, pycryptodome
}:

buildPythonPackage rec {
  pname = "adb_shell";
  version = "0.0.8";

  src = fetchPypi {
    inherit pname version;
    sha256 = "01f9jinhfyjldg9793gz2i7gcd9xyx0a62r7a5ijssklcnn2rwnm";
  };

  propagatedBuildInputs = [
    cryptography
    pyasn1
    rsa
  ];

  # tests are not part of pypi package
  doCheck = false;

  checkInputs = [
    pycryptodome
  ];

  meta = with lib; {
    description = "A Python implementation of ADB with shell and FileSync functionality";
    homepage = https://github.com/JeffLIrion/adb_shell/;
    license = licenses.mit;
    # maintainers = [ maintainers. ];
  };
}