1{ lib 2, buildPythonPackage 3, fetchPypi 4, async-timeout 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "aiopulse"; 10 version = "0.4.4"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.6"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-JbdJbkzd55KeM3Sf1ExvMuHRKNu5VAvGG4y+wkMS0Wo="; 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 changelog = "https://github.com/atmurray/aiopulse/releases/tag/v${version}"; 41 license = with licenses; [ asl20 ]; 42 maintainers = with maintainers; [ fab ]; 43 }; 44}