Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.11 47 lines 985 B view raw
1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, prettytable 6, pythonOlder 7, setuptools 8}: 9 10buildPythonPackage rec { 11 pname = "aiosomecomfort"; 12 version = "0.0.22"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "mkmer"; 19 repo = "AIOSomecomfort"; 20 rev = "refs/tags/${version}"; 21 hash = "sha256-d4pyt9+sBPNo/PL05HQ4sjyjubMtTZI9WUGRU1B/dH0="; 22 }; 23 24 nativeBuildInputs = [ 25 setuptools 26 ]; 27 28 propagatedBuildInputs = [ 29 aiohttp 30 prettytable 31 ]; 32 33 pythonImportsCheck = [ 34 "aiosomecomfort" 35 ]; 36 37 # Tests only run on Windows, due to WindowsSelectorEventLoopPolicy 38 doCheck = false; 39 40 meta = { 41 description = "AsyicIO client for US models of Honeywell Thermostats"; 42 homepage = "https://github.com/mkmer/AIOSomecomfort"; 43 changelog = "https://github.com/mkmer/AIOSomecomfort/releases/tag/${version}"; 44 license = lib.licenses.gpl3Only; 45 maintainers = with lib.maintainers; [ dotlambda ]; 46 }; 47}