Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 31 lines 644 B view raw
1{ lib 2, fetchPypi 3, buildPythonPackage 4, isPy3k 5, ifaddr 6, bitstring 7}: 8 9buildPythonPackage rec { 10 pname = "aiolifx"; 11 version = "0.6.9"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "0c28e9c058ee504a07eec11cb333bc6496d233da100dcab9c33549e9eb4985c0"; 16 }; 17 18 # tests are not implemented 19 doCheck = false; 20 21 disabled = !isPy3k; 22 23 propagatedBuildInputs = [ bitstring ifaddr ]; 24 25 meta = with lib; { 26 homepage = "https://github.com/frawau/aiolifx"; 27 license = licenses.mit; 28 description = "API for local communication with LIFX devices over a LAN with asyncio"; 29 maintainers = with maintainers; [ netixx ]; 30 }; 31}