mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-27 08:20:13 +00:00
45 lines
851 B
Nix
45 lines
851 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|