1{ lib 2, fetchPypi 3, buildPythonPackage 4, pythonOlder 5, ifaddr 6, bitstring 7}: 8 9buildPythonPackage rec { 10 pname = "aiolifx"; 11 version = "0.8.7"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-pqneX4O3BnDH7vT7RgFiEIMpLcoXOpBvKOYuMla3Iq4="; 19 }; 20 21 propagatedBuildInputs = [ 22 bitstring 23 ifaddr 24 ]; 25 26 # tests are not implemented 27 doCheck = false; 28 29 pythonImportsCheck = [ 30 "aiolifx" 31 ]; 32 33 meta = with lib; { 34 description = "Module for local communication with LIFX devices over a LAN"; 35 homepage = "https://github.com/frawau/aiolifx"; 36 license = licenses.mit; 37 maintainers = with maintainers; [ netixx ]; 38 }; 39}