Diff: https://github.com/kohlerlibs/aiokem/compare/refs/tags/v0.5.12...refs/tags/v1.0.1 Changelog: https://github.com/kohlerlibs/aiokem/blob/v1.0.1/CHANGELOG.md
53 lines
984 B
Nix
53 lines
984 B
Nix
{
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
lib,
|
|
pyjwt,
|
|
pytest-asyncio,
|
|
pytest-cov-stub,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
setuptools,
|
|
syrupy,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiokem";
|
|
version = "1.0.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kohlerlibs";
|
|
repo = "aiokem";
|
|
tag = "v${version}";
|
|
hash = "sha256-1mhsHoHttMMdMkHJ4awDHQhoMHWLHnNkeC6scEd25Z4=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
pyjwt
|
|
];
|
|
|
|
pythonImportsCheck = [ "aiokem" ];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-asyncio
|
|
pytest-cov-stub
|
|
pytestCheckHook
|
|
syrupy
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/kohlerlibs/aiokem/blob/${src.tag}/CHANGELOG.md";
|
|
description = "Async API for Kohler Energy Management";
|
|
homepage = "https://github.com/kohlerlibs/aiokem";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|