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-24 18:42:50 +02:00
|
|
|
version = "0.0.24";
|
2018-02-28 02:43:27 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-24 18:42:50 +02:00
|
|
|
sha256 = "1b4c5119b9381cb6ddaf3236f3f7e1437a14e488d1ed61336873a839788481b0";
|
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";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/btubbs/sseclient";
|
2018-02-28 02:43:27 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|