
https://github.com/python-hyper/h11/compare/v0.14.0...v0.16.0 Signed-off-by: misilelab <misileminecord@gmail.com>
39 lines
763 B
Nix
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 = [ ];
|
|
};
|
|
}
|