summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pyhomematic/default.nix
blob: 69587f74d7380d2a167a6a3172732a16f9560176 (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
{
  lib,
  buildPythonPackage,
  setuptools,
  fetchPypi,
  unittestCheckHook,
}:

buildPythonPackage rec {
  pname = "pyhomematic";
  version = "0.1.78";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-uB9aDa1urIwL2DBdBwPi0sHWPW7SUZ3EaAjuMLSOudc=";
  };

  build-system = [ setuptools ];

  nativeCheckInputs = [ unittestCheckHook ];

  pythonImportsCheck = [ "pyhomematic" ];

  meta = {
    description = "Python 3 Interface to interact with Homematic devices";
    homepage = "https://github.com/danielperna84/pyhomematic";
    changelog = "https://github.com/danielperna84/pyhomematic/releases/tag/${version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}