1{
2 lib,
3 async-timeout,
4 buildPythonPackage,
5 fetchPypi,
6 pythonOlder,
7 hatchling,
8}:
9
10buildPythonPackage rec {
11 pname = "aiopulse";
12 version = "0.4.7";
13 pyproject = true;
14
15 disabled = pythonOlder "3.6";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-DM/zDFoTYgaW+o2YYv4bDAja5iwabIBfFJ7Yep4Fywc=";
20 };
21
22 build-system = [ hatchling ];
23
24 dependencies = [ async-timeout ];
25
26 # Tests are not present
27 doCheck = false;
28
29 pythonImportsCheck = [ "aiopulse" ];
30
31 meta = with lib; {
32 description = "Python Rollease Acmeda Automate Pulse hub protocol implementation";
33 longDescription = ''
34 The Rollease Acmeda Pulse Hub is a WiFi hub that communicates with
35 Rollease Acmeda Automate roller blinds via a proprietary RF protocol.
36 This module communicates over a local area network using a propriatery
37 binary protocol to issues commands to the Pulse Hub.
38 '';
39 homepage = "https://github.com/atmurray/aiopulse";
40 changelog = "https://github.com/atmurray/aiopulse/releases/tag/v${version}";
41 license = with licenses; [ asl20 ];
42 maintainers = with maintainers; [ fab ];
43 };
44}