1{ lib 2, buildPythonPackage 3, fetchPypi 4, requests 5, requests-oauthlib 6, pythonOlder 7, setuptools 8, six 9}: 10 11buildPythonPackage rec { 12 pname = "homeconnect"; 13 version = "0.7.2"; 14 format = "pyproject"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-wCx8Jh3NBTnYI+essH9toacjUaT4fS61SaAAZDCYZ4g="; 21 }; 22 23 nativeBuildInputs = [ 24 setuptools 25 ]; 26 27 propagatedBuildInputs = [ 28 requests 29 requests-oauthlib 30 six 31 ]; 32 33 # Project has no tests 34 doCheck = false; 35 36 pythonImportsCheck = [ 37 "homeconnect" 38 ]; 39 40 meta = with lib; { 41 description = "Python client for the BSH Home Connect REST API"; 42 homepage = "https://github.com/DavidMStraub/homeconnect"; 43 changelog = "https://github.com/DavidMStraub/homeconnect/releases/tag/v${version}"; 44 license = with licenses; [ mit ]; 45 maintainers = with maintainers; [ fab ]; 46 }; 47}