python3Packages.greeclimate: init at 0.11.8
This commit is contained in:
parent
14a592b54b
commit
a3eca489bc
2 changed files with 50 additions and 0 deletions
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 ];
|
||||
};
|
||||
}
|
|
@ -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 a new issue