File tree Expand file tree Collapse file tree 4 files changed +89
-0
lines changed
development/python-modules/miraie-ac
servers/home-assistant/custom-components/miraie Expand file tree Collapse file tree 4 files changed +89
-0
lines changed Original file line number Diff line number Diff line change 14751475 github = "an-empty-string";
14761476 githubId = 681716;
14771477 };
1478+ ananthb = {
1479+ name = "Ananth Bhaskararaman";
1480+ 1481+ github = "ananthb";
1482+ githubId = 3133350;
1483+ };
14781484 anas = {
1479148514801486 github = "0x61nas";
Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildPythonPackage ,
4+ fetchPypi ,
5+
6+ # build-system
7+ poetry-core ,
8+
9+ # dependencies
10+ aiomqtt ,
11+ aiohttp ,
12+ certifi ,
13+ } :
14+
15+ buildPythonPackage rec {
16+ pname = "miraie-ac" ;
17+ version = "1.1.1" ;
18+ pyproject = true ;
19+
20+ src = fetchPypi {
21+ inherit version ;
22+ pname = "miraie_ac" ;
23+ hash = "sha256-IiRDPz5IcD3Df+vw4YvR3zc0oThGjb7pBJfD4d98h/g=" ;
24+ } ;
25+
26+ build-system = [ poetry-core ] ;
27+
28+ dependencies = [
29+ aiomqtt
30+ aiohttp
31+ certifi
32+ ] ;
33+
34+ pythonRemoveDeps = [ "asyncio" ] ;
35+
36+ pythonImportsCheck = [ "miraie_ac" ] ;
37+
38+ meta = {
39+ homepage = "https://github.com/rkzofficial/miraie-ac" ;
40+ changelog = "https://github.com/rkzofficial/miraie-ac/releases" ;
41+ description = "Python library for controlling Panasonic Miraie ACs" ;
42+ license = lib . licenses . mit ;
43+ maintainers = with lib . maintainers ; [ ananthb ] ;
44+ } ;
45+ }
Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildHomeAssistantComponent ,
4+ fetchFromGitHub ,
5+ miraie-ac ,
6+ aiomqtt ,
7+ nix-update-script ,
8+ } :
9+
10+ buildHomeAssistantComponent rec {
11+ owner = "rkzofficial" ;
12+ domain = "miraie" ;
13+ version = "1.1.6" ;
14+
15+ src = fetchFromGitHub {
16+ owner = "rkzofficial" ;
17+ repo = "ha-miraie-ac" ;
18+ tag = "v${ version } " ;
19+ hash = "sha256-5VpLfTKOLdx8P693jaW4o79CH2NKkgkgl7ai+I6JRQs=" ;
20+ } ;
21+
22+ dependencies = [
23+ miraie-ac
24+ aiomqtt
25+ ] ;
26+
27+ passthru . updateScript = nix-update-script { } ;
28+
29+ meta = {
30+ changelog = "https://github.com/rkzofficial/ha-miraie-ac/releases/tag/v${ version } " ;
31+ description = "Home Assistant component for Miraie ACs" ;
32+ homepage = "https://github.com/rkzofficial/ha-miraie-ac" ;
33+ maintainers = with lib . maintainers ; [ ananthb ] ;
34+ license = lib . licenses . asl20 ;
35+ } ;
36+ }
Original file line number Diff line number Diff line change @@ -9294,6 +9294,8 @@ self: super: with self; {
92949294
92959295 mir-eval = callPackage ../development/python-modules/mir-eval { };
92969296
9297+ miraie-ac = callPackage ../development/python-modules/miraie-ac { };
9298+
92979299 mirakuru = callPackage ../development/python-modules/mirakuru { };
92989300
92999301 misaka = callPackage ../development/python-modules/misaka { };
You can’t perform that action at this time.
0 commit comments