
Diff: https://github.com/chamberlain2007/pyaprilaire/compare/refs/tags/0.9.0...refs/tags/0.9.1 Changelog: https://github.com/chamberlain2007/pyaprilaire/releases/tag/0.9.1
42 lines
887 B
Nix
42 lines
887 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
crc,
|
|
setuptools,
|
|
pytest-asyncio,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyaprilaire";
|
|
version = "0.9.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "chamberlain2007";
|
|
repo = "pyaprilaire";
|
|
tag = version;
|
|
hash = "sha256-5f/vo8aDQ0HVKXW/yiNYyH3zFnwvP5kv0ZEglvB5quo=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ crc ];
|
|
|
|
pythonImportsCheck = [ "pyaprilaire" ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
pytest-asyncio
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/chamberlain2007/pyaprilaire/releases/tag/${src.tag}";
|
|
description = "Python library for interacting with Aprilaire thermostats";
|
|
homepage = "https://github.com/chamberlain2007/pyaprilaire";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ pyrox0 ];
|
|
};
|
|
}
|