Merge pull request #334239 from dotlambda/python3Packages.imgw-pib

home-assistant: support imgw_pib component
This commit is contained in:
Martin Weinelt
2024-08-13 02:36:19 +02:00
committed by GitHub
3 changed files with 52 additions and 1 deletions
@@ -0,0 +1,47 @@
{
aiohttp,
aioresponses,
buildPythonPackage,
fetchFromGitHub,
freezegun,
lib,
pytest-asyncio,
pytestCheckHook,
setuptools,
syrupy,
}:
buildPythonPackage rec {
pname = "imgw-pib";
version = "1.0.5";
pyproject = true;
src = fetchFromGitHub {
owner = "bieniu";
repo = "imgw-pib";
rev = "refs/tags/${version}";
hash = "sha256-2t1dzumDVUr+Lma1lnri8l2x6fUx1LKEQne7Qzh7pwc=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
pythonImportsCheck = [ "imgw_pib" ];
nativeCheckInputs = [
aioresponses
freezegun
pytest-asyncio
pytestCheckHook
syrupy
];
meta = {
changelog = "https://github.com/bieniu/imgw-pib/releases/tag/${version}";
description = "Python async wrapper for IMGW-PIB API";
homepage = "https://github.com/bieniu/imgw-pib";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
@@ -1851,7 +1851,8 @@
aioimaplib
];
"imgw_pib" = ps: with ps; [
]; # missing inputs: imgw_pib
imgw-pib
];
"improv_ble" = ps: with ps; [
aioesphomeapi
aioruuvigateway
@@ -5165,6 +5166,7 @@
"image_processing"
"image_upload"
"imap"
"imgw_pib"
"incomfort"
"influxdb"
"inkbird"
+2
View File
@@ -5936,6 +5936,8 @@ self: super: with self; {
imgtool = callPackage ../development/python-modules/imgtool { };
imgw-pib = callPackage ../development/python-modules/imgw-pib { };
imia = callPackage ../development/python-modules/imia { };
iminuit = callPackage ../development/python-modules/iminuit { };