Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

50 lines
1.0 KiB
Nix

{
aiohttp,
buildPythonPackage,
fetchFromGitHub,
lib,
pytest-aiohttp,
pytest-asyncio_0,
pytest-cov-stub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "aiohttp-sse";
version = "2.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "aio-libs";
repo = "aiohttp-sse";
tag = "v${version}";
hash = "sha256-iCjWuECUQukCtlQPjztEwawqSzd3LvvWRGXnhZem22w=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
];
pythonImportsCheck = [ "aiohttp_sse" ];
nativeCheckInputs = [
(pytest-aiohttp.override { pytest-asyncio = pytest-asyncio_0; })
pytest-asyncio_0
pytest-cov-stub
pytestCheckHook
];
__darwinAllowLocalNetworking = true;
meta = {
changelog = "https://github.com/aio-libs/aiohttp-sse/blob/${src.tag}/CHANGES.rst";
description = "Server-sent events support for aiohttp";
homepage = "https://github.com/aio-libs/aiohttp-sse";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}