7 buildPythonPackage rec {
8 pname = "pyxiaomigateway";
11 src = fetchFromGitHub {
12 owner = "Danielhiversen";
13 repo = "PyXiaomiGateway";
15 sha256 = "sha256-TAbZvs1RrUy9+l2KpfbBopc3poTy+M+Q3ERQLFYbQis=";
18 propagatedBuildInputs = [ cryptography ];
20 # Tests are not mocking the gateway completely
22 pythonImportsCheck = [ "xiaomi_gateway" ];
25 description = "Python library to communicate with the Xiaomi Gateway";
26 homepage = "https://github.com/Danielhiversen/PyXiaomiGateway/";
27 license = with licenses; [ mit ];
28 maintainers = with maintainers; [ fab ];