depot/third_party/nixpkgs/pkgs/development/python-modules/sseclient/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

38 lines
722 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
pythonOlder,
requests,
six,
}:
buildPythonPackage rec {
pname = "sseclient";
version = "0.0.27";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-sv5TTcszsdP6rRPWDFp8cY4o+FmH8qA07PXsJ5kYwRw=";
};
propagatedBuildInputs = [
requests
six
];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [ "event_stream" ];
meta = with lib; {
description = "Client library for reading Server Sent Event streams";
homepage = "https://github.com/btubbs/sseclient";
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
};
}