python3Packages.librehardwaremonitor-api: init at 1.4.0

This commit is contained in:
Robert Schütz
2025-11-02 20:12:49 -08:00
parent 622651826a
commit a64a5a0630
2 changed files with 42 additions and 0 deletions
@@ -0,0 +1,40 @@
{
aiohttp,
buildPythonPackage,
fetchFromGitHub,
lib,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "librehardwaremonitor-api";
version = "1.4.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Sab44";
repo = "librehardwaremonitor-api";
tag = "v${version}";
hash = "sha256-yYJOizO6blfwRBWD9oFnaein7DK1F8Kl744ErehXU0Q=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
];
pythonImportsCheck = [ "librehardwaremonitor_api" ];
nativeCheckInputs = [
pytestCheckHook
];
meta = {
description = "Python API client for LibreHardwareMonitor";
homepage = "https://github.com/Sab44/librehardwaremonitor-api";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.dotlambda ];
};
}
+2
View File
@@ -8377,6 +8377,8 @@ self: super: with self; {
}
);
librehardwaremonitor-api = callPackage ../development/python-modules/librehardwaremonitor-api { };
librepo = lib.pipe pkgs.librepo [
toPythonModule
(