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