summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pyeiscp/default.nix
blob: c951f0b9ff86469a8190e8adba49d278edbbf41e (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,
  fetchFromGitHub,
  setuptools,
  netifaces,
}:

buildPythonPackage {
  pname = "pyeiscp";
  version = "0.0.7";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "winterscar";
    repo = "python-eiscp";
    rev = "5f9ab5428ffa27a813dbfb00d392a0f76055137a"; # this is 0.0.7; tags are weird and from the original project this was forked from
    hash = "sha256-jmOPX0PnrKOs9kQZxlEpvp6Ck0kYXfWE6TgtKsOAHfs=";
  };

  build-system = [
    setuptools
  ];

  dependencies = [
    netifaces
  ];

  doCheck = false; # no useful tests

  pythonImportsCheck = [
    "pyeiscp"
  ];

  meta = {
    description = "Python asyncio module to interface with Anthem AVM and MRX receivers";
    homepage = "https://github.com/winterscar/python-eiscp";
    license = lib.licenses.mit;
    maintainers = [ ];
  };
}