python3Packages.miraie-ac: init at 1.1.1 (#422479)
This commit is contained in:
@@ -1475,6 +1475,12 @@
|
||||
github = "an-empty-string";
|
||||
githubId = 681716;
|
||||
};
|
||||
ananthb = {
|
||||
name = "Ananth Bhaskararaman";
|
||||
email = "nixos-maint@devhuman.net";
|
||||
github = "ananthb";
|
||||
githubId = 3133350;
|
||||
};
|
||||
anas = {
|
||||
email = "anas.elgarhy.dev@gmail.com";
|
||||
github = "0x61nas";
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
|
||||
# build-system
|
||||
poetry-core,
|
||||
|
||||
# dependencies
|
||||
aiomqtt,
|
||||
aiohttp,
|
||||
certifi,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "miraie-ac";
|
||||
version = "1.1.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "miraie_ac";
|
||||
hash = "sha256-IiRDPz5IcD3Df+vw4YvR3zc0oThGjb7pBJfD4d98h/g=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [
|
||||
aiomqtt
|
||||
aiohttp
|
||||
certifi
|
||||
];
|
||||
|
||||
pythonRemoveDeps = [ "asyncio" ];
|
||||
|
||||
pythonImportsCheck = [ "miraie_ac" ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/rkzofficial/miraie-ac";
|
||||
changelog = "https://github.com/rkzofficial/miraie-ac/releases";
|
||||
description = "Python library for controlling Panasonic Miraie ACs";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ ananthb ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
lib,
|
||||
buildHomeAssistantComponent,
|
||||
fetchFromGitHub,
|
||||
miraie-ac,
|
||||
aiomqtt,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "rkzofficial";
|
||||
domain = "miraie";
|
||||
version = "1.1.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rkzofficial";
|
||||
repo = "ha-miraie-ac";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-5VpLfTKOLdx8P693jaW4o79CH2NKkgkgl7ai+I6JRQs=";
|
||||
};
|
||||
|
||||
dependencies = [
|
||||
miraie-ac
|
||||
aiomqtt
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/rkzofficial/ha-miraie-ac/releases/tag/v${version}";
|
||||
description = "Home Assistant component for Miraie ACs";
|
||||
homepage = "https://github.com/rkzofficial/ha-miraie-ac";
|
||||
maintainers = with lib.maintainers; [ ananthb ];
|
||||
license = lib.licenses.asl20;
|
||||
};
|
||||
}
|
||||
@@ -9294,6 +9294,8 @@ self: super: with self; {
|
||||
|
||||
mir-eval = callPackage ../development/python-modules/mir-eval { };
|
||||
|
||||
miraie-ac = callPackage ../development/python-modules/miraie-ac { };
|
||||
|
||||
mirakuru = callPackage ../development/python-modules/mirakuru { };
|
||||
|
||||
misaka = callPackage ../development/python-modules/misaka { };
|
||||
|
||||
Reference in New Issue
Block a user