Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 24 lines 664 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, requests, six 3, backports_unittest-mock, pytest, pytestrunner }: 4 5buildPythonPackage rec { 6 pname = "sseclient"; 7 version = "0.0.24"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "1b4c5119b9381cb6ddaf3236f3f7e1437a14e488d1ed61336873a839788481b0"; 12 }; 13 14 propagatedBuildInputs = [ requests six ]; 15 16 checkInputs = [ backports_unittest-mock pytest pytestrunner ]; 17 18 meta = with stdenv.lib; { 19 description = "Client library for reading Server Sent Event streams"; 20 homepage = https://github.com/btubbs/sseclient; 21 license = licenses.mit; 22 maintainers = with maintainers; [ peterhoeg ]; 23 }; 24}