home-assistant: support eheimdigital component (#372404)
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
{
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
lib,
|
||||
yarl,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "eheimdigital";
|
||||
version = "1.0.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "autinerd";
|
||||
repo = "eheimdigital";
|
||||
tag = version;
|
||||
hash = "sha256-oWMlQIj8q2UVpW0xyPnoblT+ryHwCn9PCk2vugXyh2c=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
yarl
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "eheimdigital" ];
|
||||
|
||||
# upstream tests are dysfunctional
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/autinerd/eheimdigital/releases/tag/${src.tag}";
|
||||
description = "Offers a Python API for the EHEIM Digital smart aquarium devices";
|
||||
homepage = "https://github.com/autinerd/eheimdigital";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
@@ -1356,7 +1356,8 @@
|
||||
];
|
||||
"eheimdigital" =
|
||||
ps: with ps; [
|
||||
]; # missing inputs: eheimdigital
|
||||
eheimdigital
|
||||
];
|
||||
"eight_sleep" =
|
||||
ps: with ps; [
|
||||
];
|
||||
@@ -6676,6 +6677,7 @@
|
||||
"ecowitt"
|
||||
"edl21"
|
||||
"efergy"
|
||||
"eheimdigital"
|
||||
"eight_sleep"
|
||||
"electrasmart"
|
||||
"elevenlabs"
|
||||
|
||||
@@ -4080,6 +4080,8 @@ self: super: with self; {
|
||||
|
||||
eggdeps = callPackage ../development/python-modules/eggdeps { };
|
||||
|
||||
eheimdigital = callPackage ../development/python-modules/eheimdigital { };
|
||||
|
||||
eigenpy = callPackage ../development/python-modules/eigenpy { };
|
||||
|
||||
einops = callPackage ../development/python-modules/einops { };
|
||||
|
||||
Reference in New Issue
Block a user