Merge pull request #113793 from fabaff/tuyaha

This commit is contained in:
Sandro 2021-02-21 05:33:39 +01:00 committed by GitHub
commit 3d3500d796
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 1 deletions

View file

@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
}:
buildPythonPackage rec {
pname = "tuyaha";
version = "0.0.10";
src = fetchFromGitHub {
owner = "PaulAnnekov";
repo = pname;
rev = version;
sha256 = "0n08mqrz76zv1cyqky6ibs6im1fqcywkiyvfmfabml0vzvr43awf";
};
propagatedBuildInputs = [ requests ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "tuyaha" ];
meta = with lib; {
description = "Python module with the Tuya API";
homepage = "https://github.com/PaulAnnekov/tuyaha";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -865,7 +865,7 @@
"travisci" = ps: with ps; [ ]; # missing inputs: TravisPy
"trend" = ps: with ps; [ numpy ];
"tts" = ps: with ps; [ aiohttp-cors mutagen ];
"tuya" = ps: with ps; [ ]; # missing inputs: tuyaha
"tuya" = ps: with ps; [ tuyaha ];
"twentemilieu" = ps: with ps; [ ]; # missing inputs: twentemilieu
"twilio" = ps: with ps; [ aiohttp-cors twilio ];
"twilio_call" = ps: with ps; [ aiohttp-cors twilio ];

View file

@ -7991,6 +7991,8 @@ in {
tumpa = callPackage ../development/python-modules/tumpa { };
tuyaha = callPackage ../development/python-modules/tuyaha { };
tvdb_api = callPackage ../development/python-modules/tvdb_api { };
tvnamer = callPackage ../development/python-modules/tvnamer { };