1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5
6 # build-system
7 hatchling,
8
9 # dependencies
10 aiofiles,
11 aiohttp,
12
13 # tests
14 mock,
15 pytestCheckHook,
16}:
17
18buildPythonPackage rec {
19 pname = "evolutionhttp";
20 version = "0.0.19";
21 pyproject = true;
22
23 src = fetchPypi {
24 inherit pname version;
25 hash = "sha256-VhWYhkrZVUDu1I6ZZTZlTUhNfpma29tEYBLoT7xBd1M=";
26 };
27
28 build-system = [ hatchling ];
29
30 dependencies = [
31 aiofiles
32 aiohttp
33 ];
34
35 nativeCheckInputs = [
36 mock
37 pytestCheckHook
38 ];
39
40 pythonImportsCheck = [ "evolutionhttp" ];
41
42 meta = with lib; {
43 description = "HTTP client for controlling a Bryant Evolution HVAC system";
44 homepage = "https://github.com/danielsmyers/evolutionhttp";
45 license = licenses.asl20;
46 maintainers = with maintainers; [ hexa ];
47 };
48}