Merge pull request #109320 from fabaff/pymyq

This commit is contained in:
Sandro 2021-01-14 13:26:28 +01:00 committed by GitHub
commit 5c1662de69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 1 deletions

View file

@ -0,0 +1,36 @@
{ lib
, aiodns
, aiohttp
, async-timeout
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "pymyq";
version = "2.0.14";
src = fetchFromGitHub {
owner = "arraylabs";
repo = pname;
rev = "v${version}";
sha256 = "18825b9c6qk4zcvva79hpg6098z4zqxyapnqmjsli23npw0zh67w";
};
propagatedBuildInputs = [
aiodns
aiohttp
async-timeout
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pymyq" ];
meta = with lib; {
description = "Python wrapper for MyQ API";
homepage = "https://github.com/arraylabs/pymyq";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -519,7 +519,7 @@
"mvglive" = ps: with ps; [ PyMVGLive ];
"mychevy" = ps: with ps; [ ]; # missing inputs: mychevy
"mycroft" = ps: with ps; [ ]; # missing inputs: mycroftapi
"myq" = ps: with ps; [ ]; # missing inputs: pymyq
"myq" = ps: with ps; [ pymyq ];
"mysensors" = ps: with ps; [ aiohttp-cors paho-mqtt ]; # missing inputs: pymysensors
"mystrom" = ps: with ps; [ aiohttp-cors python-mystrom ];
"mythicbeastsdns" = ps: with ps; [ ]; # missing inputs: mbddns

View file

@ -5538,6 +5538,8 @@ in {
PyMVGLive = callPackage ../development/python-modules/pymvglive { };
pymyq = callPackage ../development/python-modules/pymyq { };
pymysql = callPackage ../development/python-modules/pymysql { };
pymysqlsa = callPackage ../development/python-modules/pymysqlsa { };