2018-02-28 02:43:27 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, requests, six
|
2018-07-21 02:44:44 +02:00
|
|
|
, backports_unittest-mock, pytest, pytestrunner }:
|
2018-02-28 02:43:27 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sseclient";
|
2019-04-16 19:15:41 +02:00
|
|
|
version = "0.0.23";
|
2018-02-28 02:43:27 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-16 19:15:41 +02:00
|
|
|
sha256 = "82a1d281b2bcb98847882069bde57a6772156f9539ddefbb78fea4f915197ec3";
|
2018-02-28 02:43:27 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|