summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/aioairctrl/default.nix
blob: 4a1de2c77dfba0d0f0e7baf77abf4885c083e2a1 (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,
  setuptools,
  wheel,
  aiocoap,
  pycryptodomex,
}:

buildPythonPackage rec {
  pname = "aioairctrl";
  version = "0.2.5";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-BPUV79S2A0F6vZA2pd3XNLpmRHTp6RSoNXPcI+OJRbk=";
  };

  build-system = [
    setuptools
    wheel
  ];

  dependencies = [
    aiocoap
    pycryptodomex
  ];

  pythonImportsCheck = [ "aioairctrl" ];

  doCheck = false; # no tests

  meta = {
    description = "Library for controlling Philips air purifiers (using encrypted CoAP)";
    homepage = "https://github.com/kongo09/aioairctrl";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ justinas ];
  };
}