Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / tuyaha / default.nix
blob5973b763ef63693999c16cbdcaed02d935b6577c
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , requests
5 }:
7 buildPythonPackage rec {
8   pname = "tuyaha";
9   version = "0.0.11";
10   format = "setuptools";
12   src = fetchFromGitHub {
13     owner = "PaulAnnekov";
14     repo = pname;
15     rev = version;
16     hash = "sha256-PTIw/2NRHHiqV6E5oj2pMeGq1uApevKfT2n5zV8AQmM=";
17   };
19   propagatedBuildInputs = [ requests ];
21   # Project has no tests
22   doCheck = false;
23   pythonImportsCheck = [ "tuyaha" ];
25   meta = with lib; {
26     description = "Python module with the Tuya API";
27     homepage = "https://github.com/PaulAnnekov/tuyaha";
28     license = with licenses; [ mit ];
29     maintainers = with maintainers; [ fab ];
30   };