2969ca571a
GitOrigin-RevId: 257cbbcd3ab7bd96f5d24d50adc807de7c82e06d
26 lines
564 B
Nix
26 lines
564 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "h11";
|
|
version = "0.12.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0hk0nll6qazsambp3kl8cxxsbl4gv5y9252qadyk0jky0sv2q8j7";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|