python3Packages.mitsubishi-comfort: init at 0.3.0 (#529020)
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
aiohttp,
|
||||
aioresponses,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "mitsubishi-comfort";
|
||||
version = "0.3.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nikolairahimi";
|
||||
repo = "mitsubishi-comfort";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-O/HAPb7MYU0/LEVS4ynddQuN6HKZUOUKWFn/CMz2q5E=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ aiohttp ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
aioresponses
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "mitsubishi_comfort" ];
|
||||
|
||||
meta = {
|
||||
description = "Async Python library for Mitsubishi minisplit control via Kumo Cloud and local API";
|
||||
homepage = "https://github.com/nikolairahimi/mitsubishi-comfort";
|
||||
changelog = "https://github.com/nikolairahimi/mitsubishi-comfort/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.jamiemagee ];
|
||||
};
|
||||
})
|
||||
@@ -4067,7 +4067,8 @@
|
||||
];
|
||||
"mitsubishi_comfort" =
|
||||
ps: with ps; [
|
||||
]; # missing inputs: mitsubishi-comfort
|
||||
mitsubishi-comfort
|
||||
];
|
||||
"mjpeg" =
|
||||
ps: with ps; [
|
||||
];
|
||||
@@ -8309,6 +8310,7 @@
|
||||
"min_max"
|
||||
"minecraft_server"
|
||||
"minio"
|
||||
"mitsubishi_comfort"
|
||||
"mjpeg"
|
||||
"moat"
|
||||
"mobile_app"
|
||||
|
||||
@@ -10112,6 +10112,8 @@ self: super: with self; {
|
||||
|
||||
mitogen = callPackage ../development/python-modules/mitogen { };
|
||||
|
||||
mitsubishi-comfort = callPackage ../development/python-modules/mitsubishi-comfort { };
|
||||
|
||||
mixbox = callPackage ../development/python-modules/mixbox { };
|
||||
|
||||
mixins = callPackage ../development/python-modules/mixins { };
|
||||
|
||||
Reference in New Issue
Block a user