Something went wrong. Try again.
lol
Something went wrong. Try again.
1.0 kB · 51 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, fetchFromGitHub, httpx, pytest-asyncio, pytest-cov-stub, pytestCheckHook, setuptools-scm, setuptools, sse-starlette, starlette,}:
buildPythonPackage rec { pname = "httpx-sse"; version = "0.4.3"; pyproject = true;
src = fetchFromGitHub { owner = "florimondmanca"; repo = "httpx-sse"; tag = version; hash = "sha256-6DPbfJlbLmws9GkQ2zePGp4g0at4M32vrIDtmUPDkX4="; };
build-system = [ setuptools setuptools-scm ];
dependencies = [ httpx ];
pythonImportsCheck = [ "httpx_sse" ];
nativeCheckInputs = [ pytest-asyncio pytest-cov-stub pytestCheckHook sse-starlette starlette ];
meta = { description = "Consume Server-Sent Event (SSE) messages with HTTPX"; homepage = "https://github.com/florimondmanca/httpx-sse"; changelog = "https://github.com/florimondmanca/httpx-sse/blob/${src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ natsukium ]; };}