ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pyxiaomigateway / default.nix
blob0d60916724b53829ed8a39289d902151e5c794b7
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , cryptography
5 }:
7 buildPythonPackage rec {
8   pname = "pyxiaomigateway";
9   version = "0.14.3";
11   src = fetchFromGitHub {
12     owner = "Danielhiversen";
13     repo = "PyXiaomiGateway";
14     rev = version;
15     sha256 = "sha256-TAbZvs1RrUy9+l2KpfbBopc3poTy+M+Q3ERQLFYbQis=";
16   };
18   propagatedBuildInputs = [ cryptography ];
20   # Tests are not mocking the gateway completely
21   doCheck = false;
22   pythonImportsCheck = [ "xiaomi_gateway" ];
24   meta = with lib; {
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 ];
29   };