python3Packages.pyfreshr: init at 1.2.0 (#506801)

This commit is contained in:
Sandro
2026-04-06 19:51:12 +00:00
committed by GitHub
3 changed files with 50 additions and 1 deletions
@@ -0,0 +1,45 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
setuptools-scm,
aiohttp,
pytestCheckHook,
pytest-asyncio,
}:
buildPythonPackage (finalAttrs: {
pname = "pyfreshr";
version = "1.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "SierraNL";
repo = "pyfreshr";
tag = "v${finalAttrs.version}";
hash = "sha256-YErjzr9etWaETR4mXJaY33LRVXH4KxTErlB0AIOPmNk=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [ aiohttp ];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
];
pythonImportsCheck = [ "pyfreshr" ];
meta = {
description = "Async Python client for the Fresh-r / bw-log.com API";
homepage = "https://github.com/SierraNL/pyfreshr";
changelog = "https://github.com/SierraNL/pyfreshr/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
})
@@ -1975,7 +1975,8 @@
];
"freshr" =
ps: with ps; [
]; # missing inputs: pyfreshr
pyfreshr
];
"fressnapf_tracker" =
ps: with ps; [
fressnapftracker
@@ -7653,6 +7654,7 @@
"freebox"
"freedns"
"freedompro"
"freshr"
"fressnapf_tracker"
"fritz"
"fritzbox"
+2
View File
@@ -13780,6 +13780,8 @@ self: super: with self; {
pyfreedompro = callPackage ../development/python-modules/pyfreedompro { };
pyfreshr = callPackage ../development/python-modules/pyfreshr { };
pyfribidi = callPackage ../development/python-modules/pyfribidi { };
pyfritzhome = callPackage ../development/python-modules/pyfritzhome { };