Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 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.22"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "bf1eab60b09edbaa51e42f65a18b715367d55cfdf57c1f162886bac97bb5c6fb"; 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}