Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "pycoolmasternet-async"; 11 version = "0.2.0"; 12 pyproject = true; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "OnFreund"; 18 repo = "pycoolmasternet-async"; 19 rev = "v${version}"; 20 hash = "sha256-uEZORtCZ5VOlTqonkgAtxhRIbhW+JTUMccuQ2zY7Jyo="; 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}