python3Packages.requests-sse: init at 0.5.3
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user