diff --git a/pkgs/development/python-modules/aiolifx/default.nix b/pkgs/development/python-modules/aiolifx/default.nix index 23fb3ef3fc99..100405c1abed 100644 --- a/pkgs/development/python-modules/aiolifx/default.nix +++ b/pkgs/development/python-modules/aiolifx/default.nix @@ -1,31 +1,36 @@ { lib , fetchPypi , buildPythonPackage -, isPy3k +, pythonOlder , ifaddr , bitstring }: buildPythonPackage rec { pname = "aiolifx"; - version = "0.6.10"; + version = "0.7.0"; + + disabled = pythonOlder "3.4"; src = fetchPypi { inherit pname version; - sha256 = "b3aaf814dbc03666b22b08103990f260e58616ea64f2a28396653ef3b5fad4f9"; + sha256 = "sha256-9FwTYcaXwGMMnhp+MXe1Iu8Og5aHL6qo9SVKWHFtc7o="; }; + propagatedBuildInputs = [ + bitstring + ifaddr + ]; + # tests are not implemented doCheck = false; - disabled = !isPy3k; - - propagatedBuildInputs = [ bitstring ifaddr ]; + pythonImportsCheck = [ "aiolifx" ]; meta = with lib; { + description = "API for local communication with LIFX devices over a LAN"; homepage = "https://github.com/frawau/aiolifx"; license = licenses.mit; - description = "API for local communication with LIFX devices over a LAN with asyncio"; maintainers = with maintainers; [ netixx ]; }; }