Something went wrong. Try again.
lol
Something went wrong. Try again.
710 B · 36 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, httpcore, httpx, wsproto,}:
buildPythonPackage rec { pname = "h11"; version = "0.16.0"; format = "setuptools";
src = fetchPypi { inherit pname version; hash = "sha256-TjW5Vs9FeS5MqliF5p+6AL28b/r7+gIDAOVJsgjuX/E="; };
nativeCheckInputs = [ pytestCheckHook ];
# Some of the tests use localhost networking. __darwinAllowLocalNetworking = true;
passthru.tests = { inherit httpcore httpx wsproto; };
meta = { description = "Pure-Python, bring-your-own-I/O implementation of HTTP/1.1"; homepage = "https://github.com/python-hyper/h11"; license = lib.licenses.mit; maintainers = [ ]; };}