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