python3Packages.h2: 4.0.0 -> 4.1.0

This commit is contained in:
Fabian Affolter 2022-01-15 18:21:15 +01:00 committed by Martin Weinelt
parent b47cfa8a16
commit 5ccfdbec35

View File

@ -2,7 +2,6 @@
, buildPythonPackage
, pythonOlder
, fetchPypi
, fetchpatch
, hpack
, hyperframe
, pytestCheckHook
@ -11,24 +10,16 @@
buildPythonPackage rec {
pname = "h2";
version = "4.0.0";
version = "4.1.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "bb7ac7099dd67a857ed52c815a6192b6b1f5ba6b516237fc24a085341340593d";
sha256 = "sha256-qDrKCPvnqst5/seIycC6yTY0NWDtnsGLgqE6EsKNKrs=";
};
patches = [
# Workaround issues with hypothesis 6.6
# https://github.com/python-hyper/h2/pull/1248
(fetchpatch {
url = "https://github.com/python-hyper/h2/commit/0646279dab694a89562846c810202ce2c0b49be3.patch";
sha256 = "1k0fsxwq9wbv15sc9ixls4qmxxghlzpflf3awm66ar9m2ikahiak";
})
];
propagatedBuildInputs = [
hpack
hyperframe
@ -48,5 +39,6 @@ buildPythonPackage rec {
description = "HTTP/2 State-Machine based protocol implementation";
homepage = "http://hyper.rtfd.org/";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}