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";
|
2020-05-09 11:02:02 +01:00
|
|
|
version = "0.0.26";
|
2018-02-28 01:43:27 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-09 11:02:02 +01:00
|
|
|
sha256 = "33f45ab71bb6369025d6a1014e15f12774f7ea25b7e80eeb00bd73668d5fefad";
|
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 02:11:51 +01:00
|
|
|
homepage = "https://github.com/btubbs/sseclient";
|
2018-02-28 01:43:27 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|