depot/third_party/nixpkgs/pkgs/development/python-modules/sseclient/default.nix
Default email 2ce89355c3 Project import generated by Copybara.
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
2020-06-15 17:56:04 +02:00

27 lines
765 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, requests, six
, backports_unittest-mock, pytestCheckHook, pytestrunner }:
buildPythonPackage rec {
pname = "sseclient";
version = "0.0.26";
src = fetchPypi {
inherit pname version;
sha256 = "33f45ab71bb6369025d6a1014e15f12774f7ea25b7e80eeb00bd73668d5fefad";
};
propagatedBuildInputs = [ requests six ];
checkInputs = [ backports_unittest-mock pytestCheckHook pytestrunner ];
# tries to open connection to wikipedia
disabledTests = [ "event_stream" ];
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 ];
};
}