misilelab 47426e53fd
h11: 0.14.0 -> 0.16.0
https://github.com/python-hyper/h11/compare/v0.14.0...v0.16.0

Signed-off-by: misilelab <misileminecord@gmail.com>
2025-04-26 14:11:13 +09:00

39 lines
763 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
pythonOlder,
httpcore,
httpx,
wsproto,
}:
buildPythonPackage rec {
pname = "h11";
version = "0.16.0";
format = "setuptools";
disabled = pythonOlder "3.6";
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 = with lib; {
description = "Pure-Python, bring-your-own-I/O implementation of HTTP/1.1";
homepage = "https://github.com/python-hyper/h11";
license = licenses.mit;
maintainers = [ ];
};
}