about summary refs log tree commit diff
path: root/pkgs/development/python-modules/firetv/default.nix
blob: 71525fe802f7ebfe45ccdc01b87a6c1e0789fe42 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{ lib
, buildPythonPackage
, fetchPypi
, adb-homeassistant
, flask
, pure-python-adb-homeassistant
, pycryptodome
, pyyaml
, rsa
}:
buildPythonPackage rec {
  pname = "firetv";
  version = "1.0.9";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "602de77411c2caffb322e4ff63fa6cc4eeb9a50c5f4b14e13930ed7cd87cf513";
  };

  propagatedBuildInputs = [
    adb-homeassistant
    flask
    pure-python-adb-homeassistant
    pycryptodome
    pyyaml
    rsa
  ];

  # No Tests
  doCheck = false;

  meta = with lib; {
    description = "Communicate with an Amazon Fire TV device via ADB over a network";
    mainProgram = "firetv-server";
    homepage = "https://github.com/happyleavesaoc/python-firetv/";
    license = licenses.mit;
    maintainers = [ maintainers.makefu ];
  };
}