1{ 2 lib, 3 buildPythonPackage, 4 cryptography, 5 fetchFromGitHub, 6 getmac, 7 pythonOlder, 8 requests, 9 setuptools, 10 zeroconf, 11}: 12 13buildPythonPackage rec { 14 pname = "boschshcpy"; 15 version = "0.2.107"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.10"; 19 20 src = fetchFromGitHub { 21 owner = "tschamm"; 22 repo = "boschshcpy"; 23 tag = version; 24 hash = "sha256-JHOaviN8pjG/VcYCZUk7vRTLKCfj5TMCQYo+dNDdX5I="; 25 }; 26 27 build-system = [ setuptools ]; 28 29 dependencies = [ 30 cryptography 31 getmac 32 requests 33 zeroconf 34 ]; 35 36 # Project has no tests 37 doCheck = false; 38 39 pythonImportsCheck = [ "boschshcpy" ]; 40 41 meta = with lib; { 42 description = "Python module to work with the Bosch Smart Home Controller API"; 43 homepage = "https://github.com/tschamm/boschshcpy"; 44 license = with licenses; [ bsd3 ]; 45 maintainers = with maintainers; [ fab ]; 46 }; 47}