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