anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / tuyaha / default.nix
blobeb56f96547d6fbec49bccaa2bbfaad31c6596ff0
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   requests,
6 }:
8 buildPythonPackage rec {
9   pname = "tuyaha";
10   version = "0.0.11";
11   format = "setuptools";
13   src = fetchFromGitHub {
14     owner = "PaulAnnekov";
15     repo = pname;
16     rev = version;
17     hash = "sha256-PTIw/2NRHHiqV6E5oj2pMeGq1uApevKfT2n5zV8AQmM=";
18   };
20   propagatedBuildInputs = [ requests ];
22   # Project has no tests
23   doCheck = false;
24   pythonImportsCheck = [ "tuyaha" ];
26   meta = with lib; {
27     description = "Python module with the Tuya API";
28     homepage = "https://github.com/PaulAnnekov/tuyaha";
29     license = with licenses; [ mit ];
30     maintainers = with maintainers; [ fab ];
31   };