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