2018-02-28 01:43:27 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, requests, six
|
2018-07-21 01:44:44 +01:00
|
|
|
, backports_unittest-mock, pytest, pytestrunner }:
|
2018-02-28 01:43:27 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sseclient";
|
2018-11-18 13:46:54 +00:00
|
|
|
version = "0.0.20";
|
2018-02-28 01:43:27 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-18 13:46:54 +00:00
|
|
|
sha256 = "0h5d3lr1g1m03cz5n3bbzrg39ympjk88qd9gkrm7bic6yp73iwrd";
|
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";
|
|
|
|
homepage = https://github.com/btubbs/sseclient;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|