1{ lib 2, buildPythonPackage 3, cryptography 4, fetchFromGitHub 5, getmac 6, pythonOlder 7, requests 8, zeroconf 9}: 10 11buildPythonPackage rec { 12 pname = "boschshcpy"; 13 version = "0.2.23"; 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "tschamm"; 18 repo = pname; 19 rev = version; 20 sha256 = "sha256-1mqxtL/9OFg3r+5/dkZlH4qRvRHsHMqHvYPEfCjSrr4="; 21 }; 22 23 propagatedBuildInputs = [ 24 cryptography 25 getmac 26 requests 27 zeroconf 28 ]; 29 30 # Project has no tests 31 doCheck = false; 32 33 pythonImportsCheck = [ "boschshcpy" ]; 34 35 meta = with lib; { 36 description = "Python module to work with the Bosch Smart Home Controller API"; 37 homepage = "https://github.com/tschamm/boschshcpy"; 38 license = with licenses; [ bsd3 ]; 39 maintainers = with maintainers; [ fab ]; 40 }; 41}