python37Packages.h2: fix tests

This commit is contained in:
Jonathan Ringer 2020-11-29 11:25:18 -08:00 committed by Frederik Rietdijk
parent c2b7ad587c
commit 640b5de8ad

View File

@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi { stdenv, buildPythonPackage, fetchPypi
, enum34, hpack, hyperframe }: , enum34, hpack, hyperframe, pytestCheckHook, hypothesis }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "h2"; pname = "h2";
@ -12,6 +12,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [ enum34 hpack hyperframe ]; propagatedBuildInputs = [ enum34 hpack hyperframe ];
checkInputs = [ pytestCheckHook hypothesis ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "HTTP/2 State-Machine based protocol implementation"; description = "HTTP/2 State-Machine based protocol implementation";
homepage = "http://hyper.rtfd.org/"; homepage = "http://hyper.rtfd.org/";