1{
2 lib,
3 buildPythonPackage,
4 setuptools,
5 fetchPypi,
6 unittestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "pyhomematic";
11 version = "0.1.78";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-uB9aDa1urIwL2DBdBwPi0sHWPW7SUZ3EaAjuMLSOudc=";
17 };
18
19 build-system = [ setuptools ];
20
21 nativeCheckInputs = [ unittestCheckHook ];
22
23 pythonImportsCheck = [ "pyhomematic" ];
24
25 meta = with lib; {
26 description = "Python 3 Interface to interact with Homematic devices";
27 homepage = "https://github.com/danielperna84/pyhomematic";
28 changelog = "https://github.com/danielperna84/pyhomematic/releases/tag/${version}";
29 license = licenses.mit;
30 maintainers = with maintainers; [ dotlambda ];
31 };
32}