1{ lib
2, buildPythonPackage
3, fetchPypi
4, async-timeout
5}:
6
7buildPythonPackage rec {
8 pname = "aiopulse";
9 version = "0.4.2";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "0fnscm27l77c8cd7jhbn35axyalq61kksy3fcqzv21fz55lklsm0";
14 };
15
16 propagatedBuildInputs = [
17 async-timeout
18 ];
19
20 # tests are not present
21 doCheck = false;
22
23 pythonImportsCheck = [ "aiopulse" ];
24
25 meta = with lib; {
26 description = "Python Rollease Acmeda Automate Pulse hub protocol implementation";
27 longDescription = ''
28 The Rollease Acmeda Pulse Hub is a WiFi hub that communicates with
29 Rollease Acmeda Automate roller blinds via a proprietary RF protocol.
30 This module communicates over a local area network using a propriatery
31 binary protocol to issues commands to the Pulse Hub.
32 '';
33 homepage = "https://github.com/atmurray/aiopulse";
34 license = with licenses; [ asl20 ];
35 maintainers = with maintainers; [ fab ];
36 };
37}