1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchFromGitHub, 6 poetry-core, 7 aiohttp, 8 tenacity, 9}: 10 11buildPythonPackage rec { 12 pname = "py-aosmith"; 13 version = "1.0.14"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.10"; 17 18 src = fetchFromGitHub { 19 owner = "bdr99"; 20 repo = "py-aosmith"; 21 tag = version; 22 hash = "sha256-73kiSrjPDuvSMK8pZMCPns6vm2NhE+9F7GpWEPKR7Ec="; 23 }; 24 25 build-system = [ poetry-core ]; 26 27 pythonRelaxDeps = [ "tenacity" ]; 28 29 dependencies = [ 30 aiohttp 31 tenacity 32 ]; 33 34 pythonImportsCheck = [ "py_aosmith" ]; 35 36 # upstream has no tests 37 doCheck = false; 38 39 meta = { 40 description = "Python client library for A. O. Smith water heaters"; 41 homepage = "https://github.com/bdr99/py-aosmith"; 42 license = lib.licenses.mit; 43 maintainers = with lib.maintainers; [ dotlambda ]; 44 }; 45}