python3Packages.solarman-opendata: init at 0.0.3 (#506840)

This commit is contained in:
Sandro
2026-04-06 17:36:45 +00:00
committed by GitHub
3 changed files with 55 additions and 1 deletions
@@ -0,0 +1,50 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
wheel,
aiohttp,
pytest-asyncio,
pytest-cov-stub,
pytest-mock,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "solarman-opendata";
version = "0.0.3";
pyproject = true;
src = fetchFromGitHub {
owner = "solarmanpv";
repo = "solarman-opendata";
tag = "v${finalAttrs.version}";
hash = "sha256-mLwvAs+RFaHXjOgMaIhKKTU4Dqzdu/pLtAwYc/B6oj4=";
};
build-system = [
setuptools
];
dependencies = [
aiohttp
];
nativeCheckInputs = [
pytest-asyncio
pytest-cov-stub
pytest-mock
pytestCheckHook
];
pythonImportsCheck = [ "solarman_opendata" ];
meta = {
description = "Asynchronous Python API for Solarman devices";
homepage = "https://github.com/solarmanpv/solarman-opendata";
changelog = "https://github.com/solarmanpv/solarman-opendata/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.jamiemagee ];
};
})
@@ -5930,7 +5930,8 @@
];
"solarman" =
ps: with ps; [
]; # missing inputs: solarman-opendata
solarman-opendata
];
"solax" =
ps: with ps; [
solax
@@ -8227,6 +8228,7 @@
"snooz"
"solaredge"
"solarlog"
"solarman"
"solax"
"soma"
"somfy_mylink"
+2
View File
@@ -18016,6 +18016,8 @@ self: super: with self; {
solarlog-cli = callPackage ../development/python-modules/solarlog-cli { };
solarman-opendata = callPackage ../development/python-modules/solarman-opendata { };
solax = callPackage ../development/python-modules/solax { };
solc-select = callPackage ../development/python-modules/solc-select { };