{ lib, aiohttp, buildPythonPackage, fetchFromGitHub, hatchling, pytest-asyncio, pytestCheckHook, syrupy, }: buildPythonPackage rec { pname = "librehardwaremonitor-api"; version = "1.12.1"; pyproject = true; src = fetchFromGitHub { owner = "Sab44"; repo = "librehardwaremonitor-api"; tag = "v${version}"; hash = "sha256-Wits//USXSYGaLLW26ffBROuaCrVtgLOirrdM32OJno="; }; build-system = [ hatchling ]; dependencies = [ aiohttp ]; pythonImportsCheck = [ "librehardwaremonitor_api" ]; nativeCheckInputs = [ pytest-asyncio pytestCheckHook syrupy ]; meta = { description = "Python API client for LibreHardwareMonitor"; homepage = "https://github.com/Sab44/librehardwaremonitor-api"; license = lib.licenses.mit; maintainers = [ lib.maintainers.dotlambda ]; }; }