summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/webio-api/default.nix
blob: f06c0f6a24033d7a71cabb74d97bc1cacf6b14bf (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  aiohttp,
  setuptools,
}:

buildPythonPackage rec {
  pname = "webio-api";
  version = "0.1.12";
  pyproject = true;

  src = fetchPypi {
    pname = "webio_api";
    inherit version;
    hash = "sha256-xS1uf407+ommERkZSYrElD6/tNXyBma3OFs4jUE5+tY=";
  };

  build-system = [ setuptools ];

  dependencies = [ aiohttp ];

  # Package has no tests
  doCheck = false;

  pythonImportsCheck = [ "webio_api" ];

  meta = {
    description = "Simple API to use for communication with WebIO device meant for Home Assistant integration";
    homepage = "https://github.com/nasWebio/webio_api";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
}