python3Packages.pyfreshr: init at 1.2.0

This commit is contained in:
Jamie Magee
2026-04-04 17:20:29 -07:00
parent 32cbbb03c7
commit 55c65389fa
2 changed files with 47 additions and 0 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 ];
};
})
+2
View File
@@ -13762,6 +13762,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 { };