python3Packages.aiohttp-asgi-connector: init at 1.1.2, python3Packages.bentoml: add missing input (#497395)

This commit is contained in:
Yt
2026-03-07 00:17:54 +00:00
committed by GitHub
3 changed files with 49 additions and 0 deletions
@@ -0,0 +1,45 @@
{
lib,
aiohttp,
buildPythonPackage,
fastapi,
fetchFromGitHub,
pdm-backend,
pytest-asyncio,
pytestCheckHook,
python-multipart,
}:
buildPythonPackage (finalAttrs: {
pname = "aiohttp-asgi-connector";
version = "1.1.2";
pyproject = true;
src = fetchFromGitHub {
owner = "thearchitector";
repo = "aiohttp-asgi-connector";
tag = "v${finalAttrs.version}";
hash = "sha256-kvHsn8avq0Fi4ceg3ispFoQp0HJKzBv4tgley7XWMrY=";
};
build-system = [ pdm-backend ];
dependencies = [ aiohttp ];
nativeCheckInputs = [
fastapi
pytest-asyncio
pytestCheckHook
python-multipart
];
pythonImportsCheck = [ "aiohttp_asgi_connector" ];
meta = {
description = "An AIOHTTP ClientSession connector for directly interacting with ASGI applications";
homepage = "https://github.com/thearchitector/aiohttp-asgi-connector";
changelog = "https://github.com/thearchitector/aiohttp-asgi-connector/releases/tag/v${finalAttrs.src.tag}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fab ];
};
})
@@ -3,6 +3,7 @@
stdenv,
a2wsgi,
aiohttp,
aiohttp-asgi-connector,
aiosqlite,
attrs,
buildPythonPackage,
@@ -158,6 +159,7 @@ buildPythonPackage {
dependencies = [
a2wsgi
aiohttp
aiohttp-asgi-connector
aiosqlite
attrs
cattrs
+2
View File
@@ -318,6 +318,8 @@ self: super: with self; {
aiohttp-apispec = callPackage ../development/python-modules/aiohttp-apispec { };
aiohttp-asgi-connector = callPackage ../development/python-modules/aiohttp-asgi-connector { };
aiohttp-asyncmdnsresolver = callPackage ../development/python-modules/aiohttp-asyncmdnsresolver { };
aiohttp-basicauth = callPackage ../development/python-modules/aiohttp-basicauth { };