1{ lib
2, buildPythonPackage
3, fetchPypi
4, async-timeout
5, pythonOlder
6}:
7
8buildPythonPackage rec {
9 pname = "aiopulse";
10 version = "0.4.3";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.6";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "sha256-Wp8NUjRlO+6ASqIt3C0YJRh0EKcEukXVMp4I+TCTElo=";
18 };
19
20 propagatedBuildInputs = [
21 async-timeout
22 ];
23
24 # tests are not present
25 doCheck = false;
26
27 pythonImportsCheck = [
28 "aiopulse"
29 ];
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 license = with licenses; [ asl20 ];
41 maintainers = with maintainers; [ fab ];
42 };
43}