evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / tuya-iot-py-sdk / default.nix
blobcf8c96e1b143970f39da5f95edaecbf7831c2dd6
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   paho-mqtt,
6   pycryptodome,
7   pythonOlder,
8   requests,
9   websocket-client,
12 buildPythonPackage rec {
13   pname = "tuya-iot-py-sdk";
14   version = "0.6.6";
15   format = "setuptools";
17   disabled = pythonOlder "3.6";
19   src = fetchFromGitHub {
20     owner = "tuya";
21     repo = "tuya-iot-python-sdk";
22     rev = "v${version}";
23     hash = "sha256-KmSVa71CM/kNhzE4GznaxISGmIaV+UcTSn3v+fmxmrQ=";
24   };
26   propagatedBuildInputs = [
27     paho-mqtt
28     pycryptodome
29     requests
30     websocket-client
31   ];
33   # Project has no tests
34   doCheck = false;
36   pythonImportsCheck = [ "tuya_iot" ];
38   meta = with lib; {
39     description = "Tuya IoT Python SDK for Tuya Open API";
40     homepage = "https://github.com/tuya/tuya-iot-python-sdk";
41     license = with licenses; [ mit ];
42     maintainers = with maintainers; [ fab ];
43   };