about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyvizio/default.nix
blob: 930e6e77bfa92e3136d13dfb8df25f7ad1a547b0 (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
41
42
43
44
{ lib
, aiohttp
, buildPythonPackage
, click
, fetchPypi
, jsonpickle
, requests
, tabulate
, xmltodict
, zeroconf
}:

buildPythonPackage rec {
  pname = "pyvizio";
  version = "0.1.61";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-AtqMWe2zgRqOp5S9oKq7keHNHM8pnTmV1mfGiVzygTc=";
  };

  propagatedBuildInputs = [
    aiohttp
    click
    jsonpickle
    requests
    tabulate
    xmltodict
    zeroconf
  ];

  # Project has no tests
  doCheck = false;
  pythonImportsCheck = [ "pyvizio" ];

  meta = with lib; {
    description = "Python client for Vizio SmartCast";
    mainProgram = "pyvizio";
    homepage = "https://github.com/vkorn/pyvizio";
    license = with licenses; [ gpl3Only ];
    maintainers = with maintainers; [ fab ];
  };
}