mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
Merge pull request #109320 from fabaff/pymyq
This commit is contained in:
commit
5c1662de69
3 changed files with 39 additions and 1 deletions
36
pkgs/development/python-modules/pymyq/default.nix
Normal file
36
pkgs/development/python-modules/pymyq/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue