summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/cometblue-lite/default.nix
blob: 97c4d504fdb40338bc1c4b82eb09315242f7bc18 (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,
  bleak,
  bleak-retry-connector,
  buildPythonPackage,
  fetchFromGitHub,
}:

buildPythonPackage rec {
  pname = "cometblue-lite";
  version = "0.7.0";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "neffs";
    repo = "python-cometblue_lite";
    tag = version;
    hash = "sha256-Cjd7PdZ2/neRr1jStDY5iJaGMJ/srnFmCea8aLNan6g=";
  };

  propagatedBuildInputs = [
    bleak
    bleak-retry-connector
  ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [ "cometblue_lite" ];

  meta = {
    description = "Module for Eurotronic Comet Blue thermostats";
    homepage = "https://github.com/neffs/python-cometblue_lite";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}