Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / meross-iot / default.nix
blob1a6b69134562085e8af4d975591371a040cb4b15
2   lib,
3   aiohttp,
4   buildPythonPackage,
5   fetchFromGitHub,
6   paho-mqtt,
7   pytestCheckHook,
8   pythonOlder,
9   requests,
10   retrying,
11   setuptools,
14 buildPythonPackage rec {
15   pname = "meross-iot";
16   version = "0.4.7.0";
17   pyproject = true;
19   disabled = pythonOlder "3.7";
21   src = fetchFromGitHub {
22     owner = "albertogeniola";
23     repo = "MerossIot";
24     rev = "refs/tags/${version}";
25     hash = "sha256-Zf392XMhSrCn5KM761YXzinD46Et4itva7USsFNRgPI=";
26   };
28   build-system = [ setuptools ];
30   dependencies = [
31     aiohttp
32     paho-mqtt
33     requests
34     retrying
35   ];
37   # Test require network access
38   doCheck = false;
40   pythonImportsCheck = [ "meross_iot" ];
42   meta = with lib; {
43     description = "Python library to interact with Meross devices";
44     homepage = "https://github.com/albertogeniola/MerossIot";
45     changelog = "https://github.com/albertogeniola/MerossIot/releases/tag/${version}";
46     license = with licenses; [ mit ];
47     maintainers = with maintainers; [ fab ];
48   };