2018-02-28 01:43:27 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, requests, six
|
2018-07-21 00:44:44 +00:00
|
|
|
, backports_unittest-mock, pytest, pytestrunner }:
|
2018-02-28 01:43:27 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sseclient";
|
2019-04-24 16:42:50 +00:00
|
|
|
version = "0.0.24";
|
2018-02-28 01:43:27 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-24 16:42:50 +00:00
|
|
|
sha256 = "1b4c5119b9381cb6ddaf3236f3f7e1437a14e488d1ed61336873a839788481b0";
|
2018-02-28 01:43:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests six ];
|
|
|
|
|
|
|
|
checkInputs = [ backports_unittest-mock pytest pytestrunner ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Client library for reading Server Sent Event streams";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/btubbs/sseclient";
|
2018-02-28 01:43:27 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|