{ lib , buildPythonPackage , fetchPypi , pythonOlder , pytestCheckHook , python-socks }: buildPythonPackage rec { pname = "websocket-client"; version = "1.2.1"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; sha256 = "8dfb715d8a992f5712fff8c843adae94e22b22a99b2c5e6b0ec4a1a981cc4e0d"; }; propagatedBuildInputs = [ python-socks ]; checkInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "websocket" ]; meta = with lib; { description = "Websocket client for Python"; homepage = "https://github.com/websocket-client/websocket-client"; changelog = "https://github.com/websocket-client/websocket-client/blob/v${version}/ChangeLog"; license = licenses.lgpl21Plus; maintainers = with maintainers; [ fab ]; }; }