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