1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, pytestCheckHook 6, python-socks 7, six 8}: 9 10buildPythonPackage rec { 11 pname = "websocket-client"; 12 version = "1.4.1"; 13 disabled = pythonOlder "3.6"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "sha256-+WEetlyCQaZ/s3O+8ECzz4rTd6n2VGoStiC2UR6Oqe8="; 18 }; 19 20 propagatedBuildInputs = [ 21 python-socks 22 six 23 ]; 24 25 checkInputs = [ 26 pytestCheckHook 27 ]; 28 29 pythonImportsCheck = [ "websocket" ]; 30 31 meta = with lib; { 32 description = "Websocket client for Python"; 33 homepage = "https://github.com/websocket-client/websocket-client"; 34 changelog = "https://github.com/websocket-client/websocket-client/blob/v${version}/ChangeLog"; 35 license = licenses.lgpl21Plus; 36 maintainers = with maintainers; [ fab ]; 37 }; 38}