Merge pull request #109451 from fabaff/aioshelly

python3Packages.aioshelly: init at 0.5.3
This commit is contained in:
Martin Weinelt 2021-01-17 10:46:14 +01:00 committed by GitHub
commit 5b93a5147c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 1 deletions

View File

@ -0,0 +1,34 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, netifaces
}:
buildPythonPackage rec {
pname = "aioshelly";
version = "0.5.3";
src = fetchFromGitHub {
owner = "home-assistant-libs";
repo = pname;
rev = version;
sha256 = "0177psqfib70vcvf3cg8plbwrilh770cqg8b547icdh5lnqv70b1";
};
propagatedBuildInputs = [
aiohttp
netifaces
];
# Project has no test
doCheck = false;
pythonImportsCheck = [ "aioshelly" ];
meta = with lib; {
description = "Python library to control Shelly";
homepage = "https://github.com/home-assistant-libs/aioshelly";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -722,7 +722,7 @@
"seventeentrack" = ps: with ps; [ ]; # missing inputs: py17track
"sharkiq" = ps: with ps; [ ]; # missing inputs: sharkiqpy
"shell_command" = ps: with ps; [ ];
"shelly" = ps: with ps; [ ]; # missing inputs: aioshelly
"shelly" = ps: with ps; [ aioshelly ];
"shiftr" = ps: with ps; [ paho-mqtt ];
"shodan" = ps: with ps; [ shodan ];
"shopping_list" = ps: with ps; [ aiohttp-cors ];

View File

@ -268,6 +268,8 @@ in {
aiorun = callPackage ../development/python-modules/aiorun { };
aioshelly = callPackage ../development/python-modules/aioshelly { };
aiosmtpd = callPackage ../development/python-modules/aiosmtpd { };
aiosqlite = callPackage ../development/python-modules/aiosqlite { };