summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/firetv/default.nix
blob: 882b86fcb75647e329a65b0dba29403c3ad4ae19 (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
39
40
41
{
  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 = {
    description = "Communicate with an Amazon Fire TV device via ADB over a network";
    mainProgram = "firetv-server";
    homepage = "https://github.com/happyleavesaoc/python-firetv/";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.makefu ];
  };
}