bb584b27e9
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
26 lines
563 B
Nix
26 lines
563 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "h11";
|
|
version = "0.13.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-cIE8ETUIeiSKTTjMDhoBgf+rIYgUGpPq9WeUDDlX/wY=";
|
|
};
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
# Some of the tests use localhost networking.
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
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;
|
|
};
|
|
}
|