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