Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 779 B view raw
1{ lib 2, backports_unittest-mock 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 = [ 29 backports_unittest-mock 30 pytestCheckHook 31 ]; 32 33 disabledTests = [ 34 "event_stream" 35 ]; 36 37 meta = with lib; { 38 description = "Client library for reading Server Sent Event streams"; 39 homepage = "https://github.com/btubbs/sseclient"; 40 license = licenses.mit; 41 maintainers = with maintainers; [ peterhoeg ]; 42 }; 43}