blob: 6c99394c31a395f52bcbe2e266be636680cdcd63 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
crc,
setuptools,
pytest-asyncio,
}:
buildPythonPackage rec {
pname = "pyaprilaire";
version = "0.7.4";
pyproject = true;
src = fetchFromGitHub {
owner = "chamberlain2007";
repo = "pyaprilaire";
rev = "refs/tags/${version}";
hash = "sha256-+/yQO0JF2nkxaM71iNj6ODB8raM9s4qiLLi6/borcr4=";
};
build-system = [ setuptools ];
dependencies = [ crc ];
pythonImportsCheck = [ "pyaprilaire" ];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
];
meta = {
changelog = "https://github.com/chamberlain2007/pyaprilaire/releases/tag/${version}";
description = "Python library for interacting with Aprilaire thermostats.";
homepage = "https://github.com/chamberlain2007/pyaprilaire";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ pyrox0 ];
};
}
|