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