Merge pull request #187085 from lukegb/aiolifx-connection
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, aiolifx
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiolifx-connection";
|
||||
version = "1.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "aiolifx_connection";
|
||||
inherit version;
|
||||
hash = "sha256:09fydp5fqqh1s0vav39mw98i1la6qcgk17gch0m5ihyl9q50ks13";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiolifx
|
||||
];
|
||||
|
||||
# tests are not implemented
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiolifx_connection"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Wrapper for aiolifx to connect to a single LIFX device";
|
||||
homepage = "https://github.com/bdraco/aiolifx_connection";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ lukegb ];
|
||||
};
|
||||
}
|
||||
@@ -1448,10 +1448,11 @@
|
||||
];
|
||||
"lifx" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
aiolifx-connection
|
||||
aiolifx
|
||||
aiolifx-effects
|
||||
ifaddr
|
||||
]; # missing inputs: aiolifx-connection
|
||||
];
|
||||
"lifx_cloud" = ps: with ps; [
|
||||
];
|
||||
"light" = ps: with ps; [
|
||||
@@ -3557,6 +3558,7 @@
|
||||
"lcn"
|
||||
"lg_soundbar"
|
||||
"life360"
|
||||
"lifx"
|
||||
"light"
|
||||
"litterrobot"
|
||||
"local_file"
|
||||
|
||||
@@ -361,6 +361,8 @@ in {
|
||||
|
||||
aiolifx = callPackage ../development/python-modules/aiolifx { };
|
||||
|
||||
aiolifx-connection = callPackage ../development/python-modules/aiolifx-connection { };
|
||||
|
||||
aiolifx-effects = callPackage ../development/python-modules/aiolifx-effects { };
|
||||
|
||||
aiolimiter = callPackage ../development/python-modules/aiolimiter { };
|
||||
|
||||
Reference in New Issue
Block a user