python3Packages.requests-sse: init at 0.5.3

This commit is contained in:
eljamm
2026-04-22 08:57:19 +02:00
parent b125f7e658
commit 6558a92154
2 changed files with 46 additions and 0 deletions
@@ -0,0 +1,44 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
requests,
}:
buildPythonPackage (finalAttrs: {
pname = "requests-sse";
version = "0.5.3";
pyproject = true;
src = fetchFromGitHub {
owner = "overcat";
repo = "requests-sse";
tag = finalAttrs.version;
hash = "sha256-+Zv7k+cYux7aBZk9MN7ySZh+pQUHNa6KjwxQ4l4aFxA=";
};
build-system = [
poetry-core
];
dependencies = [
requests
];
pythonImportsCheck = [
"requests_sse"
];
# tests require internet access
doCheck = false;
meta = {
description = "Server-sent events python client library based on requests";
homepage = "https://github.com/overcat/requests-sse";
changelog = "https://github.com/overcat/requests-sse/blob/${finalAttrs.src.rev}/CHANGES.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ eljamm ];
teams = with lib.teams; [ ngi ];
};
})
+2
View File
@@ -16830,6 +16830,8 @@ self: super: with self; {
requests-ratelimiter = callPackage ../development/python-modules/requests-ratelimiter { };
requests-sse = callPackage ../development/python-modules/requests-sse { };
requests-toolbelt = callPackage ../development/python-modules/requests-toolbelt { };
requests-unixsocket = callPackage ../development/python-modules/requests-unixsocket { };