1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pythonOlder,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "pydevccu";
11 version = "0.1.8";
12 pyproject = true;
13
14 disabled = pythonOlder "3.8";
15
16 src = fetchFromGitHub {
17 owner = "danielperna84";
18 repo = "pydevccu";
19 rev = "refs/tags/${version}";
20 hash = "sha256-WguSTtWxkiDs5nK5eiaarfD0CBxzIxQR9fxjuW3wMGc=";
21 };
22
23 build-system = [ setuptools ];
24
25 # Module has no tests
26 doCheck = false;
27
28 pythonImportsCheck = [ "pydevccu" ];
29
30 meta = {
31 description = "HomeMatic CCU XML-RPC Server with fake devices";
32 homepage = "https://github.com/danielperna84/pydevccu";
33 changelog = "https://github.com/danielperna84/pydevccu/releases/tag/${version}";
34 license = lib.licenses.mit;
35 maintainers = with lib.maintainers; [ fab ];
36 };
37}