summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/omnilogic/default.nix
blob: 3973110c857e08dc3bbcb1c5b895e3add4a222ba (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
{
  lib,
  aiohttp,
  xmltodict,
  buildPythonPackage,
  fetchFromGitHub,
}:

buildPythonPackage rec {
  pname = "omnilogic";
  version = "0.5.0";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "djtimca";
    repo = "omnilogic-api";
    tag = version;
    hash = "sha256-ySK2T5T+Qdq8nVQqluIARR89KmM1N3oD44oLydwcs7E=";
  };

  propagatedBuildInputs = [
    aiohttp
    xmltodict
  ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [ "omnilogic" ];

  meta = {
    description = "Python interface for the Hayward Omnilogic pool control system";
    homepage = "https://github.com/djtimca/omnilogic-api";
    license = with lib.licenses; [ asl20 ];
    maintainers = with lib.maintainers; [ fab ];
  };
}