python3Packages.aioshelly: init at 0.5.3
This commit is contained in:
parent
495066a47f
commit
04f4d3afe3
34
pkgs/development/python-modules/aioshelly/default.nix
Normal file
34
pkgs/development/python-modules/aioshelly/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -266,6 +266,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 { };
|
||||
|
|
Loading…
Reference in a new issue