1{ stdenv, buildPythonPackage, fetchPypi
2, requests, six
3, backports_unittest-mock, pytest, pytestrunner }:
4
5buildPythonPackage rec {
6 pname = "sseclient";
7 version = "0.0.19";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "7a2ea3f4c8525ae9a677bc8193df5db88e23bcaafcc34938a1ee665975703a9f";
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}