Merge pull request #126943 from dotlambda/greeclimate-init
python3Packages.greeclimate: init at 0.11.8
This commit is contained in:
commit
c8bdd6aefd
48
pkgs/development/python-modules/greeclimate/default.nix
Normal file
48
pkgs/development/python-modules/greeclimate/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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; [ ];
|
||||
|
@ -411,6 +411,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
"google_wifi"
|
||||
"gpslogger"
|
||||
"graphite"
|
||||
"gree"
|
||||
"group"
|
||||
"growatt_server"
|
||||
"guardian"
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user