Skip to content

Commit 819fa6d

Browse files
authored
python3Packages.yeelightsunflower: init at 0.0.10 (#435796)
2 parents c1a807f + 1648af8 commit 819fa6d

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchPypi,
5+
setuptools,
6+
}:
7+
8+
buildPythonPackage rec {
9+
pname = "yeelightsunflower";
10+
version = "0.0.10";
11+
pyproject = true;
12+
13+
src = fetchPypi {
14+
inherit pname version;
15+
hash = "sha256-l4Rl6WSCK68/XBwCndonNu3kePDXfSs/uIXaCkrIT7g==";
16+
};
17+
18+
build-system = [ setuptools ];
19+
20+
# Module has no tests
21+
doCheck = false;
22+
23+
pythonImportsCheck = [ "yeelightsunflower" ];
24+
25+
meta = {
26+
description = "Python package for interacting with Yeelight Sunflower bulbs";
27+
homepage = "https://github.com/lindsaymarkward/python-yeelight-sunflower";
28+
license = lib.licenses.mit;
29+
maintainers = [ lib.maintainers.jamiemagee ];
30+
};
31+
}

pkgs/servers/home-assistant/component-packages.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6808,7 +6808,8 @@
68086808
];
68096809
"yeelightsunflower" =
68106810
ps: with ps; [
6811-
]; # missing inputs: yeelightsunflower
6811+
yeelightsunflower
6812+
];
68126813
"yi" =
68136814
ps: with ps; [
68146815
aioftp

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20218,6 +20218,8 @@ self: super: with self; {
2021820218

2021920219
yeelight = callPackage ../development/python-modules/yeelight { };
2022020220

20221+
yeelightsunflower = callPackage ../development/python-modules/yeelightsunflower { };
20222+
2022120223
yfinance = callPackage ../development/python-modules/yfinance { };
2022220224

2022320225
yoda = toPythonModule (pkgs.yoda.override { python3 = python; });

0 commit comments

Comments
 (0)