1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pythonOlder,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "pycoolmasternet-async";
11 version = "0.2.2";
12 pyproject = true;
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchFromGitHub {
17 owner = "OnFreund";
18 repo = "pycoolmasternet-async";
19 tag = "v${version}";
20 hash = "sha256-MfWWy4C/G2w0Zb4C6iYbcfKciFtWctZ63K8lWaHuSnQ=";
21 };
22
23 build-system = [ setuptools ];
24
25 # no tests implemented
26 doCheck = false;
27
28 pythonImportsCheck = [ "pycoolmasternet_async" ];
29
30 meta = with lib; {
31 description = "Python library to control CoolMasterNet HVAC bridges over asyncio";
32 homepage = "https://github.com/OnFreund/pycoolmasternet-async";
33 license = licenses.mit;
34 maintainers = with maintainers; [ dotlambda ];
35 };
36}