nixpkgs/pkgs/development/python-modules/h11/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
666 B
Nix
Raw Normal View History

2021-01-01 21:37:12 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
2021-01-01 21:37:12 +00:00
}:
2018-03-05 16:17:29 +00:00
buildPythonPackage rec {
pname = "h11";
2022-03-02 21:42:00 +00:00
version = "0.13.0";
disabled = pythonOlder "3.6";
2018-03-05 16:17:29 +00:00
src = fetchPypi {
inherit pname version;
2022-03-02 21:42:00 +00:00
sha256 = "sha256-cIE8ETUIeiSKTTjMDhoBgf+rIYgUGpPq9WeUDDlX/wY=";
2018-03-05 16:17:29 +00:00
};
2021-01-01 21:37:12 +00:00
checkInputs = [ pytestCheckHook ];
2018-03-05 16:17:29 +00:00
2019-09-13 15:43:21 +00:00
# Some of the tests use localhost networking.
__darwinAllowLocalNetworking = true;
2018-03-05 16:17:29 +00:00
meta = with lib; {
description = "Pure-Python, bring-your-own-I/O implementation of HTTP/1.1";
2021-01-01 21:37:12 +00:00
homepage = "https://github.com/python-hyper/h11";
2018-03-05 16:17:29 +00:00
license = licenses.mit;
maintainers = with maintainers; [ SuperSandro2000 ];
2018-03-05 16:17:29 +00:00
};
}