python3Packages.hyponcloud: init at 0.9.0 (#502299)
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
mashumaro,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "hyponcloud";
|
||||
version = "0.9.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jcisio";
|
||||
repo = "hyponcloud";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-ZFolkhyXauUS+6rbCjSp+5Oxfp3Y7oh8fjXHwDi+zKA=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
mashumaro
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "hyponcloud" ];
|
||||
|
||||
meta = {
|
||||
description = "Python library for Hypontech Cloud API for solar inverter monitoring";
|
||||
homepage = "https://github.com/jcisio/hyponcloud";
|
||||
changelog = "https://github.com/jcisio/hyponcloud/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.jamiemagee ];
|
||||
};
|
||||
})
|
||||
@@ -2665,7 +2665,8 @@
|
||||
];
|
||||
"hypontech" =
|
||||
ps: with ps; [
|
||||
]; # missing inputs: hyponcloud
|
||||
hyponcloud
|
||||
];
|
||||
"ialarm" =
|
||||
ps: with ps; [
|
||||
pyialarm
|
||||
@@ -7637,6 +7638,7 @@
|
||||
"hvv_departures"
|
||||
"hydrawise"
|
||||
"hyperion"
|
||||
"hypontech"
|
||||
"ialarm"
|
||||
"iaqualink"
|
||||
"ibeacon"
|
||||
|
||||
@@ -168,6 +168,10 @@ let
|
||||
};
|
||||
|
||||
extraDisabledTestPaths = {
|
||||
hypontech = [
|
||||
# outdated snapshot
|
||||
"tests/components/hypontech/test_sensor.py::test_sensors"
|
||||
];
|
||||
jellyfin = [
|
||||
# AssertionError: assert 'audio/x-flac' == 'audio/flac'
|
||||
"tests/components/jellyfin/test_media_source.py::test_resolve"
|
||||
|
||||
@@ -7292,6 +7292,8 @@ self: super: with self; {
|
||||
|
||||
hyperscan = callPackage ../development/python-modules/hyperscan { };
|
||||
|
||||
hyponcloud = callPackage ../development/python-modules/hyponcloud { };
|
||||
|
||||
hypothesis = callPackage ../development/python-modules/hypothesis { };
|
||||
|
||||
hypothesis-auto = callPackage ../development/python-modules/hypothesis-auto { };
|
||||
|
||||
Reference in New Issue
Block a user