python312Packages.dash-renderer: remove (#369714)
[NixPkgs.git] / pkgs / development / python-modules / pyxiaomigateway / default.nix
blobc42d7f055c8c2d212d6a63583de2c44e4c60d4e5
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   cryptography,
6 }:
8 buildPythonPackage rec {
9   pname = "pyxiaomigateway";
10   version = "0.14.3";
11   format = "setuptools";
13   src = fetchFromGitHub {
14     owner = "Danielhiversen";
15     repo = "PyXiaomiGateway";
16     rev = version;
17     hash = "sha256-TAbZvs1RrUy9+l2KpfbBopc3poTy+M+Q3ERQLFYbQis=";
18   };
20   propagatedBuildInputs = [ cryptography ];
22   # Tests are not mocking the gateway completely
23   doCheck = false;
24   pythonImportsCheck = [ "xiaomi_gateway" ];
26   meta = with lib; {
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 ];
31   };