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