From e7ee0264f9124e7c7c6cd299a680a139b40332f7 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Wed, 4 Jan 2017 09:15:27 +0100 Subject: [PATCH] pythonPackages.h2: init at 2.5.1 --- pkgs/top-level/python-packages.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c7f68105af95..97bf79ee283d 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -14694,6 +14694,24 @@ in { }; }; + h2 = buildPythonPackage rec { + name = "h2-${version}"; + version = "2.5.1"; + + src = pkgs.fetchurl { + url = "mirror://pypi/h/h2/${name}.tar.gz"; + sha256 = "0xhzm5vcfhdq3mihynwh4ljwi0r06lvzk3ypr0gmmbcp1x43ffb7"; + }; + + propagatedBuildInputs = with self; [ enum34 hpack hyperframe ]; + + meta = { + description = "HTTP/2 State-Machine based protocol implementation"; + homepage = "http://hyper.rtfd.org/"; + license = licenses.mit; + }; + }; + mitmproxy = buildPythonPackage rec { baseName = "mitmproxy"; name = "${baseName}-${version}";