Merge pull request #126943 from dotlambda/greeclimate-init

python3Packages.greeclimate: init at 0.11.8
This commit is contained in:
Fabian Affolter 2021-06-15 15:29:21 +02:00 committed by GitHub
commit c8bdd6aefd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 52 additions and 1 deletions

View File

@ -0,0 +1,48 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, netifaces
, pycryptodome
, pytest-asyncio
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "greeclimate";
version = "0.11.8";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "cmroche";
repo = "greeclimate";
rev = version;
sha256 = "1n46klbhl0gpd5x995mrcr1qfd77hrfm501qns1zhvv0zk8mdsf4";
};
propagatedBuildInputs = [
netifaces
pycryptodome
];
checkInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"greeclimate"
"greeclimate.device"
"greeclimate.discovery"
"greeclimate.exceptions"
"greeclimate.network"
];
meta = with lib; {
description = "Discover, connect and control Gree based minisplit systems";
homepage = "https://github.com/cmroche/greeclimate";
license = licenses.gpl3Only;
maintainers = with maintainers; [ dotlambda ];
};
}

View File

@ -327,7 +327,7 @@
"gpsd" = ps: with ps; [ gps3 ];
"gpslogger" = ps: with ps; [ aiohttp-cors ];
"graphite" = ps: with ps; [ ];
"gree" = ps: with ps; [ ]; # missing inputs: greeclimate
"gree" = ps: with ps; [ greeclimate ];
"greeneye_monitor" = ps: with ps; [ ]; # missing inputs: greeneye_monitor
"greenwave" = ps: with ps; [ ]; # missing inputs: greenwavereality
"group" = ps: with ps; [ ];

View File

@ -411,6 +411,7 @@ in with py.pkgs; buildPythonApplication rec {
"google_wifi"
"gpslogger"
"graphite"
"gree"
"group"
"growatt_server"
"guardian"

View File

@ -3029,6 +3029,8 @@ in {
greatfet = callPackage ../development/python-modules/greatfet { };
greeclimate = callPackage ../development/python-modules/greeclimate { };
green = callPackage ../development/python-modules/green { };
greenlet = callPackage ../development/python-modules/greenlet { };