1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 pythonOlder, 7 requests, 8 six, 9}: 10 11buildPythonPackage rec { 12 pname = "sseclient"; 13 version = "0.0.27"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-sv5TTcszsdP6rRPWDFp8cY4o+FmH8qA07PXsJ5kYwRw="; 21 }; 22 23 propagatedBuildInputs = [ 24 requests 25 six 26 ]; 27 28 nativeCheckInputs = [ pytestCheckHook ]; 29 30 disabledTests = [ "event_stream" ]; 31 32 meta = with lib; { 33 description = "Client library for reading Server Sent Event streams"; 34 homepage = "https://github.com/btubbs/sseclient"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ peterhoeg ]; 37 }; 38}